PDA

View Full Version : app quits on launch




itepuy
Dec 2, 2009, 05:43 PM
Hi,

I just posted an update of my app to AppStore. It was approved by Apple. It has been tested on 2 iphone devices (3G - 3GS with 3.1.2). It worked fine but when downloaded from AppStore it doesn't launch, just displayed the default screen and returned to iphone menu. I have no idea where to look. Any help will be greatly appreciated.



MacToddB
Dec 2, 2009, 10:01 PM
Hi,

I just posted an update of my app to AppStore. It was approved by Apple. It has been tested on 2 iphone devices (3G - 3GS with 3.1.2). It worked fine but when downloaded from AppStore it doesn't launch, just displayed the default screen and returned to iphone menu. I have no idea where to look. Any help will be greatly appreciated.

I had a similar problem, about 11 months ago. We changed some preserved user settings, so an existing user would have the app exit, but new users had no problem.

If you have a large installed base, this will start showing up in reviews, emails, etc. Update your description to tell old users to DELETE the old app (or the new app if they already updated) THEN reinstall the new version as a clean install. They will lose any settings, of course, but it should work. And remind users that Apple will NOT charge them twice for the same app.

In the meantime, try to fix the settings issue and submit an update to the update. Apple might give you a fast track approval if you ask nicely, at appreview@apple.com.

PhoneyDeveloper
Dec 3, 2009, 11:32 AM
What gets written to the console when it quits? Do you get a crash log?

itepuy
Dec 3, 2009, 04:04 PM
No log displayed.
But I found the error: an outlet in my NIB was improperly connected.

PhoneyDeveloper
Dec 3, 2009, 04:47 PM
The crash log and console are visible in the Xcode organizer window. If it's really crashing then there will be info there.

itepuy
Dec 4, 2009, 07:49 AM
The app test on device with Xcode was OK no crash, no log but in prodution it quits.
I suspected a problem in the appDelegate (applicationDidFinishLaunching) or in my ViewController (ViewDidLoad) so I recreated my XIB and properly connected the outlets, made an ad hoc testing and all is fine.
What is weird is that initially while testing with Xcode on device the app worked perfectly.