Post

Replies

Boosts

Views

Activity

Reply to Testflight app crashes only on cellular network
I would like to fix this bug. But how can I do so without the ability to debug it? Shipping it now with optimization turned off is a quick way to fix the bug while I try to debug it. Because, I'm not sure exactly how I can debug it? The crash reports are very ambiguous. I don't know if it's possible to simply debug on xcode with the release compiler? I don't even know what the bug is? Or how to find it? All I know is that it has something to do with the optimized compiler. And a single attempt at a debug cycle can easily take 10 minutes instead of 10 seconds.
Aug ’20
Reply to Testflight app crashes only on cellular network
Thanks for the explanation. I followed your instructions, using Apple Configurator. The crash still occurred. I then googled a bit more and decided to try disabling Swift Code optimization for release, in the build settings. It works perfectly now in testflight. Perhaps I do not need optimized code for my app, it seems to work well enough as is. But now when I got to appstoreconnect, it says: An error has occurred. Try again later. I can't find my app anymore?
Aug ’20
Reply to Testflight app crashes only on cellular network
Yes, it's only once I've uploaded to testflight. No issues on debug. Not sure what exporting the dev build and installing on device will accomplish? I'll try to do it, if I can figure it out. The crash log from testflight only gives an 'init' error (i guess), seemingly where the first zstack in contentview starts. I tried turning off bit code encoding, but it also did not remove the crashes. The random nature of the crashes, in that it occurs once every 5 - 10 attempts is really strange.
Aug ’20