I tried this on a few devices, I have an iOS app that crashes when my phone is not connected via XCode.
Steps I follow:
1) Open XCode Project, connect phone to Mac
2) Launch app through XCode
3) App fully works
4) Unplug cable
5) Click again on app Icon -> crash after spashscreen
Would anyone have any idea where I could look to figure out this problem ? As its only occuring while unplugged, I have no logs.
PS: Also I have submitted this app to the App store (as I didn’t notice before) and Apple accepted it. Which means their process didn’t even find this problem.
Had the same problem. It’s the way you terminate the debugging process. Just add another step:
1) Open XCode Project, connect phone to Mac
2) Launch app through XCode
3) App fully works
4) STOP the application (from XCode)
5) Unplug cable
6) Click again on app Icon -> crash after spashscreen