I'm getting a strange problem of launching my app on iphone device.
I'm using Xcode Version 11.2.1, and with the same project, I can run my app correctly several months ago. Now when I run my app from Xcode, it is killed immediately and Xcode shows the error message: Unable to launch xxx.xxxxx.xxxxx(my app's bundle id). In details it shows the following message:
Unable to launch xxx.xxxxx.xxxxx Domain: com.apple.platform.iphoneos Code: -12
Request to launch xxx.xxxxx.xxxxx failed. Domain: com.apple.dt.deviceprocesscontrolservice Code: 2 Failure Reason: The operation couldn’t be completed. (null) : Failed to launch process with bundle identifier 'xxx.xxxxx.xxxxx'.
The operation couldn’t be completed. (null) Domain: FBSOpenApplicationErrorDomain Code: 1 Failure Reason: (null) User Info: { BSErrorCodeDescription = Unspecified; }
I tried to pack my whole project and sent it to my colleage. He can run the project correctly on the same iphone device.
I wonder why I cannot run the app properly. Could anyone give me some hint or advise. Thanks!