21
2017
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:
Solution
- 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)
Related Posts
1 Comment + Add Comment
Leave a comment
Recent posts
- Editor Tool: Scene Size Analyzer
- LudumDare 60: Old Tech
- uBasic Scripting Language for Unity
- GreaseMonkey+Editor Plugin: 1-Click Copy script from ChatGPT (Web) to Unity Editor (as script)
- Editor Tool: Property Watcher
- .unityignore : Hide files from Project window
- PostBuild Script to Create Single exe Standalone File
- Game Loop Designer
- Favorites in PackageManager
- LudumDare59 : Signal
- Unity Editor: Tree Generator
- Leaf/Foliage Generator Tools (Runs in Browser)
Recent Comments
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by












[…] Source: https://unitycoder.com/blog/2017/05/21/ios-app-crashes-only-if-downloaded-from-appstore-or-testfligh… […]