Note that there are some explanatory texts on larger screens.

plurals
  1. POiOS 4.3.2 user reported app crashing on launch
    text
    copied!<p>An update of my app has just been approved by Apple and users are now complaining the app does not launch anymore. It also happens to some new users. </p> <p>I have absolutely no idea where the problem is nor can I reproduce the problem. I have tested the update on various devices (&amp; simulator) before submitting the update: iPhone 2G running 3.1.3, iPod Touch 2G running 4.3 , iPhone 3G and iPhone 4 running 4.3.1. They ALL work as expected. The update has a few new features like random picking photos from user's photo library using AssetsLibrary framework, I have weak-linked the framework to support iOS 3 and the feature does not load until selected by the user so it should not be the problem. After all, the update has been tested and approved by Apple.</p> <p>I have difficulty collecting crash information from users with the problem, but I know one of them uses iPhone 4 with iOS 4.3.2. A quick google search reveals that iOS 4.3.2 has problems launching third party apps, I suspect my problem has something to do with this but I can not confirm it. I am planning to downgrade my dev iPhone 4 to iOS 4.3.2 to test it.</p> <p>Does anybody here experienced similar problem? My app's ranking has dropped significantly because of the negative reviews so I need to fix this as soon as possible.</p> <p><strong>Edit:</strong></p> <ul> <li><p>There should not be any watch dog problem, I tested the update on the above mentioned devices with and without Xcode/debugger.</p></li> <li><p>Memory management. I can not reproduce the problem (I tried quite hard) so I can not confirm if it's EXC_BAD_ACCESS, I did check reference count and nil released objects (safely release) when applicable, I am absolutely not a pro in memory management so I take it seriously, I checked leaks and allocations with instruments, stress-tested and did memory warning simulations, no problem was found.</p></li> <li><p>I have <code>UIApplicationWillEnterForegroundNotification</code> in <code>-loadview</code>, it's only available after iOS 4.0 so I check if it exists with <code>&amp;</code> operator because I use it.</p></li> <li><p>I do not persist data other than saving facebook connect token and expiry date (NSDate) in <code>NSUserDefaults</code>, since the problem also happens to new users so I think it's something else</p></li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload