简体   繁体   中英

Crash when app is updated

I currently have my app on the AppStore, and current version is 1.4. The last version was 1.3, and when users are updating from 1.3 -> 1.4 they have a crash when they use it, however I notice that if they uninstalled then reinstall it from scratch the bug disappear. Is there anyway to simulate this behavior ?

I already try to checkout the 1.3 version, install it from Xcode on my device then update my App to 1.4 but I was not able to reproduce the crash. Do you know any way to simulate the update of my app ?

Also, if I publish the 1.5 version on testFlight and then update my app from 1.4 Appstore to 1.5 testFlight, is my app deleted then reinstall or does it update it like it does when I did 1.3 Appstore -> 1.4 Appstore ?

Thanks for your help.

To handle this situation, first check for Sqlite and Coredata changes. If you have changed or altered any tables then you need to provide data migration.

In your case where you have not used it, check for crashlogs from iTunes portal. Symbolication of Crashlog will explain the crash in much better way.

To simulate the same, install the application of version 1.3 from store. Now sign the version 1.4 with distribution certificate and ad-hoc profile. Load it on test flight. Install this new version to upgrade from 1.3 to 1.4. This will create the same steps and you will be able to re-produce the issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM