I submitted An app to AppStore. but its being rejected claiming it crashes on launch but it works fine on my device and simulators.
they send the crash logs to troubleshooting.
Crash Files
Your application was killed by iOS because it took too long to launch (19 seconds, if we read the crash files).
I wouldn't know to say why it takes that long to launch, though. What is your app doing on launch? More data would be appreciated to help.
Related
We are developing a Watch OS companion application for our iOS app. We currently get symbolicated crash reports for our iOS app on App Store Connect. We are trying to get the same for the Watch Application.
We are producing some forced crashes on a build we uploaded to TestFlight but crash logs are not getting there as iOS crash logs. Is there anything else that needs to be done differently from iOS to get them?
Do you know about any known issues on it?
BTW, we see the crash logs getting to the iPhone on the iPhone itself. They're just not uploaded. We are also able to get the logs on Xcode Organizer.
One of my apps recently were rejected due to not running on iPad in compatibility mode. However, I fixed the problem and they load fine in Compatibility mode on iOS6 on my iPad simulator through xcode. So I reuploaded my app and about 7 hours later it already went into review and got rejected for the same reason, they said that the app crashed on iPad.
So, how do I read specifically the .crash file returned by apple?
I have checked multiple times in my code there are no errors or warnings. When i install it in simulator or my iphone it doesn't get past the splash screen. It just quits and doesn't say anything about crashing.
Any ideas?
You should take a look at the crash logs for the device. After you sync it to your computer they will be stored at:
~/Library/Logs/CrashReporter/MobileDevice/<DEVICE_NAME>
Simulator crash logs are here:
~/Library/Logs/DiagnosticReports/
They have a file extension of .crash
See Here:
http://www.anoshkin.net/blog/2008/09/09/iphone-crash-logs/
the app I've installed on an iPhone 3G device periodically crashes. I'm wondering if it's the device or the code. the code works fine on the simulator.
I have other apps from the app store that do the same thing. e.g. the stackoverflow app - whenever I do a search the app crashes. I've even had the iPod app crash too.
I've restored the phone a few times and still the same thing. I'm getting ready to upload the app to the app store and was wondering if anyone had any tips to make sure that my code is not the problem. it's difficult to tell because there are no errors in the simulator or memory leaks in Instruments
thanks in advance.
You can be guaranteed that it is your code. Run it in the debugger on the device and see where it is crashing. If you are getting EXC_BAD_ACCESS use the following to help track it down
http://www.cocoadev.com/index.pl?NSZombieEnabled
It most certainly is your code that crashes.
Run in debug mode and watch the console (real debug mode, not only the debug target).
Also, you can (and should) grab the crash report from the organizer. You can also watch the device's console there.
Are you sure you are not running out of memory?
the easiest way to see if this is your problem is to implement didReceiveMemoryWarning method of your controllers and check if they are called.
In the simulator you can simulate a memory warning but I am not sure if even in simulator app will crash if memory is not released. (I believe not)
Also run your app with instruments, using allocations: Run > Run with performance tools > Allocations.
And use your app for a while and you will see. ;)
I have an iPhone App published for a while, developed under the SDK3, and everything works great. Some weeks ago, when Apple released the SDK4 I made some changes to my app to support multitasking (it plays audio in the background).
In my simulator and my device (iPhone 3GS iOS4) the app runs great, there is no problem at all. But, now when I submit the update, a lot of users are contacting me because they say that the app freezes on the splash screen and after waiting about 40-60 seconds, it crashes.
By asking to the users, I have determinate that the problem is only in those devices that haves iOS4 (iPhone 3Gs and 4G).
I tested the app over and over in my simulator and my device but it never happens to me!! Some one have any idea or information about this?
I will really appreciate it. Thanks.
After search for the crashes, and try over and over, I can't reproduce the bug on
my devices. So, I decide to start reading at the Apple Developer Forums and I
found a thread where my suspicions are affirmed: this problem is caused by an internal
iOS4 bug.
"There's a bug in the App Store's code signing process. Talk to DTS: they can
help you with the workaround. Mention rdar://7909951."
"...but it should be the cause of nearly all "failed to launch in time" inside
libobjc:_mapStrHash..." (This appears in some of my app crashes)
Here is the link to the post: failed to launch in time in iOS4
There is no certain solution, but some suggest that a start is changing from arm6 to arm7 and try.
You can try changing some code in the app for producing a different binary and submit it again.
I hope it can help anyone else.
Check the crash report on itunesconnect.apple.com
iPhone 3G also supports iOS 4, except it "doesn't support multitasking" (presumably due to lack of RAM?). If you're only seeing crashes on the 3GS and 4, then that might be the issue.
Default.png is shown on launch, but it's also shown on the foreground when the OS didn't manage to get a screenshot while backgrounding, or for various other reasons (e.g. your app was launched with openURL, so the UI is likely to be different).