问题
I'm developing a react-native app for iOS and tried to build and run it on a new iPhone X (that I added to my apple developers account).
The app is crashing on launch with this alert popping on Xcode10: "Unable to launch /private/var/containers/Bundle/Application/"
Please note that the app is perfectly running on the iOS Simulator.
Also note that I carefully went through the following procedures without any success:
- Unable to launch /private/var/containers/Bundle/Application/
- Unable to launch /private/var/containers/Bundle/Application/
Do you guys have any idea what's going wrong???
Many thanks
回答1:
After deleting and renewing all Apple certificates which was not effective, I clicked on "system" tab in Keychain Access and switched Apple Worldwide Developer Relations Certification Authority from "always approved" to "default" setting.
Built again in xcode and it now runs properly.
Hope this helps!
Might be related to Xcode10 update (I ran 9.4 while i first created my app) which either changed my Certification Authority setting or changed the way it handles "always approved" parameter.
来源:https://stackoverflow.com/questions/53262861/unable-to-launch-private-var-containers-bundle-application-app