gpt4 book ai didi

iphone - 仪器,目标运行失败 : Remote exception encountered : 'Failed to get task for pid'

转载 作者:可可西里 更新时间:2023-11-01 03:08:39 25 4
gpt4 key购买 nike

我无法控制构建。我也没有苹果开发帐户。我可以使用调试/检查/发布版本。运行测试自动化时,我继续遇到此错误:Target 无法运行:遇到远程异常:'Failed to get task for pid 506'

自动化开始,应用程序打开,然后立即关闭。这是一些控制台输出

10 月 25 日 09:46:48 iphone com.apple.launchd[1] (UIKitApplication:com.something.dogfood[0xd456][504]) : (UIKitApplication:com.something.dogfood[0xd456]) Exited: Killed : 9

10 月 25 日 09:46:48 iphone SpringBoard[29]:应用程序“MyApplicaton”异常退出,信号 9:已杀死:9

有什么建议吗?

最佳答案

Instruments 基本上通过成为应用程序的调试器来完成它的工作。有时在使用 XCode 调试应用程序后,我发现在重新启动设备之前我无法使用 Instruments。

与 XCode 不同,Instruments 可能会混淆名称相同但包 ID 不同的两个应用程序。 (或者可能是相同的名称和相似的包 ID。)当我在设备上有多个版本的应用程序时,我经常必须删除多余的才能让 Instruments 连接到正确的应用程序。

因此,删除您应用的所有重复项并重新启动设备。

关于iphone - 仪器,目标运行失败 : Remote exception encountered : 'Failed to get task for pid' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7893074/

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