App crashes installed from AppStore, no error running from Xcode

Hi All,


I have the issue where app crashes installed from app store on iPad with OS 10.3.3, but running fine from Xcode.

I have crash log, but there is almost nothing there. Here is what I have:


#0(null) in _os_unfair_lock_unowned_abort ()
#1(null) in _os_unfair_lock_unlock_slow ()
#2(null) in 0x53e000 ()
#3(null) in 0x53e000 ()
#4(null) in free_tiny ()
#5(null) in 0x53e000 ()
#6(null) in 0x53e000 ()
#7(null) in free_tiny ()
#8(null) in 0x53e000 ()
#9(null) in 0x53e000 ()
#10(null) in free_tiny ()
#11(null) in 0x53e000 ()

and so on repeating line 2 to 4


Maybe anyone has idea what should I do.


Many thanks,

Mike

Replies

Two things:

  • Most problems that show up only on the App Store are related to your build configuration. You need to test locally with a Release build. The best way to do that is to build an archive, which creates a Release build, and then use the Organizer to export that archive with Development signing so that you can test it locally.

  • As to the actual crash, the backtrace suggests that you have memory corruption issues, and for that I recommend the Standard Memory Debugging Tools.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Do we need to export with App Thinning and Bitcode to test it locally for simulating App store review team environment?

Thanks for the info btw!