I tried this on multiple devices, I have an iOS application that crashes when my phone is not connected via Xcode.
The steps follow:
1) Open the Xcode project, connect the phone to the Mac
2) Run the application through Xcode
3) The application works completely
4) Disconnect the cable
5) Click the application icon again → crash after spashscreen
Can anyone think where I could figure this out? Since this is the only thing that happens when disconnected, I have no logs.
PS: I also sent this application to the App Store (as I had not noticed before), and Apple accepted it. This means that their process did not even find this problem.
source
share