ios - Xcode 如何修复在设备上运行时出现的问题 "Unable to launch"?

标签 ios xcode

我已经使用了很多 Xcode 版本,但是这个问题“无法启动”

Request to launch xcodetest.1 failed. Domain: com.apple.dt.deviceprocesscontrolservice Code: 2 Failure Reason: The operation couldn’t be completed. (null) : Failed to launch process with bundle identifier 'my bundle identifier here'. full xcode error output screenshot

不离开我。 我尝试的只是从我的设备上的 xcode 运行任何应用程序(也是空的),但它总是崩溃。这种崩溃仅发生在我的设备(iphone X)上,但是当我更换手机(iphone 7)时,一切正常。代码签名有一些东西,但网络上没有任何帮助我的东西。我尝试清理证书,使用新的苹果帐户,甚至 100 美元一个(现在我使用免费的 acc),尝试重新安装 xcode,在 iphone 上重新安装 ios,将开发人员配置文件切换到受信任的设置,编辑方案等。 Xcode code signing settings screenshot

我不知道该怎么办。我运行应用程序的唯一方法是将它们应用到 testflight...

iphone profile trusted screenshot

最佳答案

如果您使用Distribution 证书,则无法使用 Xcode 运行。

关于ios - Xcode 如何修复在设备上运行时出现的问题 "Unable to launch"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56496933/

相关文章:

iphone - iOS 中的自定义 UI 集成

ios - Firebase 远程配置设置默认值 : doesn't store NSDictionary

objective-c - 如何用三角形弹出覆盖来呈现 UIView?

swift - 如何使用 Swift 将 Angular routerLink 传递到 WKWebview

xcode - Delphi:PAServer:获取支持调试的权限...失败

ios - 迁移到新 Mac 时无法在 Xcode 中导入身份

ios - 如何知道 2 个并行线程请求何时在 iOS 中完成

ios - 使用 WKWebView 显示本地 XML 文档

ios - 如何解决这个问题 "framework not found GRPCClient, linker command failed with exit code 1 (use -v to see invocation) "?

ios - 使用 UIGraphics 组合两个图像时遇到问题,图像位置不正确