【发布时间】:2013-03-01 13:08:22
【问题描述】:
我第一次遇到这个问题。我正在使用分发 + Ad-Hoc 配置文件将我的应用程序运行到设备,但我无法在设备中首次启动应用程序,因为我不断收到此错误:
3 月 1 日 18:07:58 My-iPhon 内核[0]:launchd[276] 内置配置文件:容器(沙盒) 3 月 1 日 18:07:58 My-iPhon 内核[0]:launchd[276] 容器:/private/var/mobile/Applications/E142C3CE-F6E0-4C77-ABE8-1B764DA216FE(沙盒) 3 月 1 日 18:07:58 My-iPhon com.apple.debugserver-189[261] : 1 +0.000000 sec [0105/0303]: error: ::task_for_pid (target_tport = 0x0103, pid = 276, &task) => err = 0x00000005 ((os/kern) 失败) err = ::task_for_pid (target_tport = 0x0103, pid = 276, &task) => err = 0x00000005 ((os/kern) 失败) (0x00000005) 3 月 1 日 18:07:58 My-iPhon mobile_house_arrest[280]:最大打开文件数:125 3 月 1 日 18:07:59 My-iPhon com.apple.debugserver-189[261] : 2 +0.417620 sec [0105/0303]: error: ::task_for_pid (target_tport = 0x0103, pid = 276, &task) => err = 0x00000005 ((os/kern) 失败) err = ::task_for_pid (target_tport = 0x0103, pid = 276, &task) => err = 0x00000005 ((os/kern) 失败) (0x00000005) 3 月 1 日 18:07:59 My-iPhon mobile_house_arrest[281]:最大打开文件数:125 3 月 1 日 18:07:59 My-iPhon mobile_house_arrest[282]:最大打开文件数:125在我启动后,应用程序崩溃了,在设备控制台中我收到了这个错误:
3 月 1 日 18:11:44 My-iPhon backboardd[52]:BKSendGSEvent 错误发送事件类型 50:(ipc/send)无效的目标端口(0x10000003) 3 月 1 日 18:11:44 My-iPhon com.apple.launchd[1] (UIKitApplication:com.xxx.myApp[0x3077][276]) : (UIKitApplication:com.xxxx.myapp[0x3077]) 退出:杀死: 9 3 月 1 日 18:11:44 My-iPhon com.apple.debugserver-189[261] : 21 +216.166834 sec [0105/0303]: RNBRunLoopLaunchInferior DNBProcessLaunch() 返回错误:'未能获取进程 276 的任务' 3 月 1 日 18:11:44 My-iPhon com.apple.debugserver-189[261]:错误:无法启动进程(空):无法获取进程 276 的任务 3 月 1 日 18:11:44 My-iPhon backboardd[52]:应用程序 'UIKitApplication:com.xxxxx.myApp[0x3077]' 退出,信号 9:被杀死:9但是,第三次运行正常!
我试过很多方法,比如
- 重新创建了我的配置文件,并为 Ad-Hoc 分发提供了 entitlement.plist
- 我将方案的构建配置设置为调试,那么如何在我的设备上第一次运行我的应用程序时解决此错误
- 我重述了我的设备
无论我尝试什么,我都会收到此错误!谁能解释一下?
【问题讨论】:
-
为什么你的应用会这么饿?
-
对不起我的英语不好
-
没问题!我们随时为您提供帮助,您的帖子至少是可读的。
-
我添加了 cordovaLib.xcodeproj 和一些 Js 文件也有
标签: iphone crash provisioning-profile