Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App crashing suddenly on launch - iPhone enterprise version

I have enterprise version installed on few of the devices. On one of the device app is crashing immediate after the launch button click every time.

It is working on other device without crash. Can any one help me on the issue that why it is crashing ?

**edit: We seems it certificate expiration issue. But if certificate is expired then it also should not work when I install it in new device.

like image 633
Esha Avatar asked Jan 05 '18 06:01

Esha


People also ask

Why is my app closing as soon as I open it iPhone?

Most often, apps crash because they aren't updated and have unaddressed bugs. To fix this, go to the Updates section of the App Store and update the app if an update is available.

Why does an app keep crashing as soon as I open it?

Apps on Android can crash because of low storage space, too many apps running simultaneously, a weak internet connection, or not having the proper app updates installed.


1 Answers

Here are few steps will help you to find / detect / resolve your issue :

  • If its live version which you are testing than check out crash logs.
  • To check crash logs open Xcode -> window -> Organiser -> Select your app -> Crashes -> Select current version. You will find the crash open it in Xcode it will help you to find the line which generating crash
  • If its not live app than try to debug app on same device using debug ad hoc provisioning
  • Another way is you can also use crashlytics tool into your app. It will give you detailed information of the crash along with the possible code which encouraging the crash

Possible reasons for crash :

  • Architecture support. Might be crash issue generated only on base 64 devices than check out your app is base 64 supported or not
  • Use of Depreciated methods can also cause the crash
  • iOS Compatibility issue can also be a reason of crash
  • Most important reason is if your app trying to access privacy information without permission alert than also it will get crashed at very beginning of app launch

Hope it will help you.

like image 67
Mayur Avatar answered Oct 12 '22 16:10

Mayur