Xcode错误:无法启动 [英] Xcode error: failed to launch

查看:141
本文介绍了Xcode错误:无法启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个为支持iCloud而编写的Mac应用程序.但是,在尝试运行该应用程序时出现了这个问题:

I have a Mac app I have written to support iCloud. However, I get this when trying to run the app:

错误:无法启动/Users/padsoftware/Library/Developer/Xcode/DerivedData/Scrawl-heofvoywsunchdhjowxkvkoiqvan/Build/Products/Release/Scrawl.app/Contents/MacOS/Scrawl

error: failed to launch /Users/padsoftware/Library/Developer/Xcode/DerivedData/Scrawl-heofvoywsunchdhjowxkvkoiqvan/Build/Products/Release/Scrawl.app/Contents/MacOS/Scrawl

奇怪的是,无论有没有iCloud,有或没有沙箱,有或没有授权,或者有或没有代码签名,我的所有Mac应用程序都会出现这种情况.关于如何解决此问题的任何想法?

The odd thing is that this appears for all of my Mac apps, with or without iCloud, with or without sandboxing, with or without entitlements, or ever with or without code signing. Any idea on how to fix this?

推荐答案

我也遇到了这个问题.对我来说,这是一个代码签名问题.确保您要与开发人员而不是发行人签名.

I had this problem too. For me, it was a code sign issue. Make sure you're signing with developer, not distribution.

这篇关于Xcode错误:无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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