iOS App crashes only if downloaded from Appstore or TestFlight

Had annoying issue with one ios app, it worked perfectly when build locally from xcode to device,
but after uploading to AppStore, that version crashes in all devices. Solution was rather simple:


  • Disable [ ] Include bitcode option when uploading your app archive to itunes connect (because apparently they do some compiling in app store, which can break your project, in my case it seems like they stripped out some required classes from MoonSharp..?)


Resources / Tips for debugging TestFlight & AppStore apps (since you cannot connect xcode debugger)

  • Use runtime debug loggers like SRDebugger (paid plugin), or UberLogger (free), can see the actual error message here!
  • From Player Settings enable: “Script Call Optimizations: Slow & Safe” (because Fast & No Exceptions crashes, slow and safe at least wont crash in most cases it seems)
  • View device logs by connecting your iphone/ipad to Mac, then in Xcode select Window / Devices / yourdevice, … view logs (but il2cpp makes it bit useless, ‘crashed at 89829034 + 127837’ ?)
  • Use TestFlight with iTunesconnect users, this means the build is available for testing quite fast after uploading (no need to wait for beta build review for external testers)



1 Comment + Add Comment

Leave a comment


Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.