Iphone 我的应用程序未在我的设备中启动?

Iphone 我的应用程序未在我的设备中启动?,iphone,crash,provisioning-profile,Iphone,Crash,Provisioning Profile,我第一次遇到这个问题。我正在使用distribution+Ad Hoc provision配置文件运行我的应用程序到设备,但我无法在设备中第一次启动应用程序,因为我不断收到此错误: Mar 1 18:07:58 My-iPhon kernel[0] : launchd[276] Builtin profile: container (sandbox) Mar 1 18:07:58 My-iPhon kernel[0] : launchd[276] Container:

我第一次遇到这个问题。我正在使用distribution+Ad Hoc provision配置文件运行我的应用程序到设备,但我无法在设备中第一次启动应用程序,因为我不断收到此错误:

Mar 1 18:07:58 My-iPhon kernel[0] : launchd[276] Builtin profile: container (sandbox) Mar 1 18:07:58 My-iPhon kernel[0] : launchd[276] Container: /private/var/mobile/Applications/E142C3CE-F6E0-4C77-ABE8-1B764DA216FE (sandbox) Mar 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) failure) err = ::task_for_pid ( target_tport = 0x0103, pid = 276, &task ) => err = 0x00000005 ((os/kern) failure) (0x00000005) Mar 1 18:07:58 My-iPhon mobile_house_arrest[280] : Max open files: 125 Mar 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) failure) err = ::task_for_pid ( target_tport = 0x0103, pid = 276, &task ) => err = 0x00000005 ((os/kern) failure) (0x00000005) Mar 1 18:07:59 My-iPhon mobile_house_arrest[281] : Max open files: 125 Mar 1 18:07:59 My-iPhon mobile_house_arrest[282] : Max open files: 125 3月1日18:07:58我的iPhone内核[0]:启动[276]内置配置文件:容器(沙箱) 3月1日18:07:58我的iPhone内核[0]:启动[276]容器:/private/var/mobile/Applications/E142C3CE-F6E0-4C77-ABE8-1B764DA216FE(沙箱) 3月1日18:07:58我的iPhon com.apple.debugserver-189[261]:1+0.000000秒[0105/0303]:错误:::任务用于pid(目标端口=0x0103,pid=276,&task)=>err=0x00000005((操作系统/内核)故障)err=::任务用于pid(目标端口=0x0103,pid=276,&task)=>err=0x00000005((操作系统/内核)故障)(0x00000005) 3月1日18:07:58我的iPhon mobile_软禁[280]:最大打开文件数:125 3月1日18:07:59我的iPhon com.apple.debugserver-189[261]:2+0.417620秒[0105/0303]:错误:::任务用于pid(目标端口=0x0103,pid=276,&task)=>err=0x00000005((操作系统/内核)故障)err=::任务用于pid(目标端口=0x0103,pid=276,&task)=>err=0x00000005((操作系统/内核)故障)(0x00000005) 3月1日18:07:59我的iPhon mobile_软禁[281]:最大打开文件数:125 3月1日18:07:59我的iPhon mobile_软禁[282]:最大打开文件数:125 启动后,应用程序崩溃,在设备控制台中,我出现以下错误:

Mar 1 18:11:44 My-iPhon backboardd[52] : BKSendGSEvent ERROR sending event type 50: (ipc/send) invalid destination port (0x10000003) Mar 1 18:11:44 My-iPhon com.apple.launchd[1] (UIKitApplication:com.xxx.myApp[0x3077][276]) : (UIKitApplication:com.xxxx.myapp[0x3077]) Exited: Killed: 9 Mar 1 18:11:44 My-iPhon com.apple.debugserver-189[261] : 21 +216.166834 sec [0105/0303]: RNBRunLoopLaunchInferior DNBProcessLaunch() returned error: 'failed to get the task for process 276' Mar 1 18:11:44 My-iPhon com.apple.debugserver-189[261] : error: failed to launch process (null): failed to get the task for process 276 Mar 1 18:11:44 My-iPhon backboardd[52] : Application 'UIKitApplication:com.xxxxx.myApp[0x3077]' quit with signal 9: Killed: 9 3月1日18:11:44我的iPhon背板DD[52]:BKSendGSEvent错误发送事件类型50:(ipc/send)目标端口无效(0x10000003) 3月1日18:11:44我的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秒[0105/0303]:RNBrunLoopLaunchSubsier DNBProcessLaunch()返回错误:“无法获取进程276的任务” 3月1日18:11:44 My iPhon com.apple.debugserver-189[261]:错误:无法启动进程(null):无法获取进程276的任务 3月1日18:11:44我的iPhone BackboardDD[52]:应用程序“UIKitApplication:com.xxxxx.myApp[0x3077]”退出并发出信号9:Killed:9 但是,第三次它运行正常

我试过很多方法,比如

  • 重新创建我的配置文件,并为临时分发提供了authority.plist
  • 我将方案的构建配置设置为debug,那么在设备上首次运行应用程序时如何解决此错误
  • 我重申了我的计划

  • 不管我怎么做,我都会犯这个错误!你们谁能解释一下吗?

    你们可以尝试使用开发证书。如果在设备中安装IPA文件,它将正常工作


    将应用程序上载到应用商店时,请使用临时和分发资源调配配置文件

    为什么你的应用程序会这么饿?对不起,我的英语不好!我们是来帮助你的,你的文章至少是可读的