I had this problem (but with a proper developer account etc trying to test run my app on my iphone). and the simple gotcha that might also apply to anyone else here, was the setting in the entitlements.plist file: you need it to say 'development' not 'production'. When I made that simple change everything was fine ( and I felt a bit silly!).
Hope this helps somebody else out there.
Just remember to reset it to 'production' when you are setting up a store release.