【发布时间】:2013-01-21 18:56:49
【问题描述】:
我正在尝试让我的应用程序在模拟器和我的设备上再次运行。在我收到这个错误之前,我经历了 XCode 签名错误的奥德赛,但我知道这似乎我真的被卡住了。
错误:
当我尝试在设备上启动应用程序时,它构建时没有任何错误,但安装应用程序后我收到错误消息:
无法启动“APP_X_Y” - “A”数据包返回错误:-1
很遗憾,我也无法使用 模拟器 - 它在“附加到 APP_X_Y”时卡住。您也可以通过 here 查看模拟器问题 - 但没有最终解决方案。
到目前为止我做了什么:
在出现不同的 XCode 错误后,我完成了以下 Stackoverflow 问题,每个问题都帮助我进入下一个级别。
- Xcode: failed to get the task for process
- Profile bug (Error launching remote program: failed to get the task for process XXX.)
- Code Sign error: Provisioning profile can't be found
- Provisioning Profile "Team" is "Unknown"
在最后一步,但我认为事情真的搞砸了:XCode 无法再找到配置文件,这就是为什么我删除了我的项目文件中的配置文件字符串,就像这里推荐的那样:Codesign error: Provisioning profile cannot be found after deleting expired profile
知道我正在为数据包返回 -1 错误而苦苦挣扎,我在这里找不到任何输入。有谁知道如何让它再次工作?
【问题讨论】:
标签: ios xcode4 certificate code-signing provisioning-profile