可以在设备上调试应用但无法分析:应用必须使用开发标识进行签名

Awe*_*e-o 4 iphone profiler ios provisioning-profile xcode5

我有自定义方案,例如DebugStaging用开发标识签名.

我使用这些方案在调试时从Xcode在我的手机上运行应用程序.但是,任何使用这些方案进行分析的尝试都会导致

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

到底发生了什么,我如何摆脱Xcode的这种邪恶?

编辑:我们很久以前删除了该Debug方案以使用更详细的方案名称.

Mik*_*ike 25

转到目标方案,Product - > Scheme - > Edit Scheme,然后从左侧菜单中选择'Profile'并将Build Configuration设置为Debug.