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
- Favorites in PackageManager
- LudumDare59 : Signal
- Unity Editor: Tree Generator
- Leaf/Foliage Generator Tools (Runs in Browser)
- Testing Unity AI Beta
- Ways to Support UnityCoder Development
- Using UI Slider to Create 5-Star Rating Element
- Game Music Library For Unity (editor plugin)
- Fontastic : Easily Test Fonts in Unity Editor!
- GeoTiff Importer & Terrain Generator for Unity
- Create Baked DropShadow for UI images
- .JP2 Ortho Image Converter to PNG/JPG/TIFF
Recent Comments
- on Mesh Exploder (sources)
- on Sprite Sheet Flip Book Shader
- on Sprite Sheet Flip Book Shader
- on [Asset Store] PolygonCollider2D Optimizer
- on Trajectory Test Scene 2.0
- on Vector3 maths for dummies!
- on UnityHub 3.6.0: Remove Version Control & Cloud Dashboard columns
- on Using RenderDoc with Unity (graphics debugger)
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by












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