My Objective-c app is working well so far from iPhone 5 to iPhone 6s plus. But 2 days before I got some complaints from some iPhone 7 users, the app is crashing on their phone as soon as they installed the app. And when they tap the app icon also the app is crashing. But when I run it on iPhone 7 simulator I don't get any issue. I don't even have an iPhone 7 device to check this issue. Is there any way that I can catch this issue even using an online tool? Please suggest me a solution. Thanks.
Asked
Active
Viewed 629 times
1
-
1You need more information, crashlogs for instance. – shallowThought Apr 04 '17 at 13:13
-
I cant get a crash log since I don't have any iPhone 7 device. I got this complaits from my clients – Randi Apr 04 '17 at 13:14
-
Try to add to your application some framework like crashlytics. Maybe you can handle crashlog with this framework. – Sergey Apr 04 '17 at 13:14
-
Do you have crashlytics setup? – jarora Apr 04 '17 at 13:15
-
How can I add that? Can you provide more details about that tool? – Randi Apr 04 '17 at 13:16
-
No I havent setup that – Randi Apr 04 '17 at 13:16
-
1https://fabric.io/kits/ios/crashlytics/install – Sergey Apr 04 '17 at 13:17
-
Other way is to get crash log from device. https://developer.apple.com/library/content/qa/qa1747/_index.html – Sergey Apr 04 '17 at 13:19
-
After add this framework do I need to run this on a device or is it enough to tun on semulator? But my semulator doesn't give any crash – Randi Apr 04 '17 at 13:22
-
2To solve problem you need to have a crash report. You can add framework and send this build to the user which has iphone7, or you can try to tell this user to provide crash report for you. – Sergey Apr 04 '17 at 13:32
-
@Sergey Thanks now I got the point – Randi Apr 04 '17 at 13:34
2 Answers
1
Here’s what you’ll need to do to stop the apps from crashing or hanging immediately on open: Install any waiting software update, found in Settings > General > Software Update (it is likely versioned as 10.0.1 and the iPhone 7 may ship with iOS 10.0)
- Install and let the iPhone reboot as usual
- Open the App Store
- Download any new app at all, literally any app, whether it is free or paid does not matter
- You’ll see a pop-up message saying Terms and Conditions have changed, accept the new terms by tapping on the numerous “Agree” screens
- Exit the App Store
- Return to the Home Screen and launch the app(s) that were crashing initially
Source : http://osxdaily.com/2016/09/16/fix-apps-crashing-immediately-new-iphone/

Uma_Shanker_Tiwari
- 453
- 1
- 3
- 16
0
I had the same issue with my old app, then added the permission in Info.plist. like
For Camera:
<key>NSCameraUsageDescription</key>
<string>You can take photos to document your job.</string>
Photo Library
<key>NSPhotoLibraryUsageDescription</key>
<string>You can select photos to attach to reports.</string>
Please check you app for other permission like microphone or other. I hope this will fix your problem.
If you are not satisfied from above answer then try Instuments to check any memory issue or other issue with iPhone 7

Basir Alam
- 1,332
- 20
- 24
-
-
1If these permissions were missing, Apple would reject their app from approval (I know, because it happened to me) and it likely would not be model-specific. – Stonz2 Apr 04 '17 at 15:01
-