无法在仪器中启动我的应用程序:至少有一个目标无法启动 [英] Can't launch my app in Instruments: At least one target failed to launch

查看:95
本文介绍了无法在仪器中启动我的应用程序:至少有一个目标无法启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已正确设置所有代码签名权利。在我的手机上运行应用程序很好,但在仪器中启动它会给我一个错误消息:

I have all my code signing entitlements set correctly. Running the app on my phone is fine, but launching it in instruments gives me an error message:

Error Starting Recording
At least one target failed to launch; aborting run

然后:

Target failed to run. Permisson to debug [app name] was denied. The app must be signed with a development identity (i.e. iOS Developer)

任何想法我怎么能阻止这个从发生?不会发生在我的iPad上。

Any ideas how I could stop this from happening? Doesn't happen on my iPad.

推荐答案

编辑目标方案,并在个人资料[应用名称]下设置构建配置到调试(默认情况下通常是Release)。

Edit the scheme for your target and under "Profile [App Name]" set the Build Configuration to Debug (it's usually Release by default).

这篇关于无法在仪器中启动我的应用程序:至少有一个目标无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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