gpt4 book ai didi

ios - 代码 : Could not launch "APP_X_Y" - 'A' packet returned an error: -1

转载 作者:技术小花猫 更新时间:2023-10-29 10:43:15 26 4
gpt4 key购买 nike

我正试图让我的应用程序在模拟器和我的设备上再次运行。在出现此错误之前,我经历了 XCode 签名错误的漫长旅程,但我知道我似乎真的被困住了。

错误:

当我尝试在设备上启动该应用程序时,它构建时没有任何错误,但在安装该应用程序后我收到错误消息:

无法启动“APP_X_Y”-“A”数据包返回错误:-1

不幸的是,我也无法使用模拟器 - 它卡在“Attaching to APP_X_Y”。您也可以通过here 查看模拟器问题。 - 但没有最终的解决方案。

到目前为止我做了什么:

在出现不同的 XCode 错误后,我完成了以下 Stackoverflow 问题,每个问题都帮助我进入了一个新的水平。

  1. Xcode: failed to get the task for process
  2. Profile bug (Error launching remote program: failed to get the task for process XXX.)
  3. Code Sign error: Provisioning profile can't be found
  4. Provisioning Profile "Team" is "Unknown"

但在最后一步,我认为事情真的搞砸了:XCode 无法再找到配置文件,这就是为什么我删除了项目文件中的配置文件字符串,就像这里推荐的那样: Codesign error: Provisioning profile cannot be found after deleting expired profile

我知道我正在努力处理数据包返回的 -1 错误,我在这里找不到任何输入。有谁知道如何让它再次工作?

最佳答案

尝试将应用程序部署到三个已连接设备中的第三个时出现相同的错误。

我所要做的就是退出 XCode 并重新启动它,然后它又可以正常工作了。

关于ios - 代码 : Could not launch "APP_X_Y" - 'A' packet returned an error: -1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14731412/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com