无法启动/private/var/containers/Bundle/Application/.app [英] Unable to launch /private/var/containers/Bundle/Application/.app

查看:565
本文介绍了无法启动/private/var/containers/Bundle/Application/.app的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为 iOS 开发一个 react-native 应用,并尝试在新的 iPhone X(我添加到我的苹果开发者帐户中)上构建和运行它.

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).

应用程序在启动时崩溃,Xcode10 上弹出此警报:无法启动/private/var/containers/Bundle/Application/"

The app is crashing on launch with this alert popping on Xcode10: "Unable to launch /private/var/containers/Bundle/Application/"

请注意,该应用可以在 iOS 模拟器上完美运行.

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:

你们知道出了什么问题吗???

Do you guys have any idea what's going wrong???

非常感谢

推荐答案

在删除并更新所有无效的 Apple 证书后,我单击 Keychain Access 中的系统"选项卡,并将 Apple Worldwide Developer Relations Certification Authority 从始终批准"到默认"设置.

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.

再次用 xcode 构建,现在可以正常运行了.

Built again in xcode and it now runs properly.

希望这会有所帮助!

可能与 Xcode10 更新(我第一次创建应用程序时运行 9.4)有关,它更改了我的证书颁发机构设置或更改了它处理始终批准"参数的方式.

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.

这篇关于无法启动/private/var/containers/Bundle/Application/.app的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆