Unable to launch /private/var/containers/Bundle/Application/.app

一世执手 提交于 2019-12-13 02:50:46

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!