Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone app crash immediately after update

today my app update it has been released in the store, when updated or downloaded for the first time the app immediately crash on start.

I've tested the app on simulator and on device (the same where I've installed the update from the store) and I never experienced this problem.

My update it has been submitted with Organizer after the archiving, in the Distribute section.

Apple do not perform these types of controls before to release an app?

Anyone experienced a similar problem? I have no idea what could be the cause.. Thank you, Stefano.

like image 846
stefano di luca Avatar asked Jul 04 '12 00:07

stefano di luca


People also ask

Why are my apps crashing after iOS update?

The apps may continue to crash if they're totally corrupted from the iOS update. If this is the case, the only way to get the apps to work on your phone properly again is to uninstall and reinstall them.

Why are my apps crashing after update?

This usually occurs when your Wi-Fi or cellular data is slow or unstable, causing apps to malfunction. Another reason for Android apps crashing can be a lack of storage space in your device. This can occur when you overload your device's internal memory with heavy apps.

When I click on an app it closes immediately iPhone?

Check for updates To see if updates are available for the app, open the App Store, tap your profile icon, then scroll down to see if updates are available. If updates aren't available for the app, update the software on your iPhone or iPad.

How do you fix an app that keeps crashing on iPhone?

To fix iPhone apps that keep crashing: Swipe up on the app to close it, and then reopen it. Restart the phone. Then open the app and see if it's working properly. Check for app updates.


1 Answers

Here's the best way to test a production build without deploying to the store:

  • Set your build Scheme to "iOS Device"
  • Do an Archive build
  • Select your archive and click Distribute
  • Choose "Save for Enterprise or Ad-Hoc Deployment"
  • Pick your code signing cert
  • After saving the ipa file, use Apple's iPhone Configuration Utility(*) to install it on your device

You should always perform two tests:

  • installing on a blank device after uninstalling your app *and any profiles in Settings -> General -> Profiles"
  • installing over the top of the previous version of your app, to make sure any files/preferences/etc are properly converted to the new format

(*) the iPhone Configuration Utility is mostly used for enterprise app deployment, but it's also useful for developers and is available as a free download for mac and windows at support.apple.com. You can also use iTunes instead, but it's convoluted.

As for why your app is crashing? No idea... it could be anything. Standard debugging advice applies.

like image 164
Abhi Beckert Avatar answered Oct 12 '22 12:10

Abhi Beckert