无法运行应用:Xcode process launch failed: Securit

最近在开发的时候遇到一个问题,iPhone 6Plus在真机调试的时候,无法运行程序。具体现象是:Xcode点击运行之后,手机上出现要运行的应用图标,但是没有打开,Xcode上提示:Xcode process launch failed: Securit。

此时,最简单的解决方法是:

  1. 点击手机上的应用图标
  2. 点击:信任
  3. 再次运行程序

其实第三步可有可无,应用已经装上了。如果再次调试的时候,只要不删除应用,就可以像之前一样直接运行程序了。

我搜索相关资料,大部分发现出现这种情况的原因是系统版本为GM版,而我的6 Plus的版本是8.1.2的正式版。虽然系统版本不一样,但是出现的情况和解决的办法都一样。

另外一种解决办法,可以从根本上解决,其实也不是多难,说难是相对于第一种方法而言。

具体处理方法:

  1. 将出问题的手机连上电脑;
  2. 打开Xcode,选择Window ->Devices;
  3. 右键点击出问题的设备,然后选择:Show Provisioning Profiles;

如下图所示:

4.选中描述文件,然后挨个全部删除(点击减号(“-”),或者按delete;

5.重新安装试试。

如下图:

引起这个问题的原因是描述文件引起的,而iOS8.0及以后的版本在手机上看不到描述文件,只能在Mac端删除。

stackoverflow类似问题解决方法地址:http://stackoverflow.com/questions/25824908/xcode-process-launch-failed-security

至此,出现问题的设备就解决了。如果还有什么问题,或者是开发方面的问题,欢迎提问,我会尽量一一解答。

时间: 2024-08-29 18:08:19

无法运行应用:Xcode process launch failed: Securit的相关文章

iOS "Xcode process launch failed: Security" in iPhone 6, iOS 8 -解决方案

问题重述: 在iOS 8中第一次运行App,Xcode出现弹出框:"Xcode process launch failed: Security" 解决方案: "If you get this, the app has installed on your device. You have to tap the icon. It will ask you if you really want to run it. Say "yes" and then Buil

进程启动失败:安全问题 Xcode process launch failed: Security Xcode

Xcode 进程启动失败:安全问题,模拟器中没有问题,实体机器上不行 花了大约一周到两周的时间开发了一块app,昨天把 iPhone 5S 升级到了 iOS 8 GM 系统,升级没什么问题,测试app也没有什么问题,当我从 iPhone 5S 上删除掉我的app,并且重新构建的时候,出现了如下的错误. 1 2 Could not launch "My App" process launch failed: Security 于是我紧接着使用模拟器测试了一遍,没有问题,初步原因是 iPh

新iPhone6做真机测试报错:process launch failed: Security

前言 同事新买的iPhone6,需要Xcode直接安装最新版本,在安装之前,曾通过fir.im装过Ad_Hoc版.在使用Xcode进行真机运行时,iPhone6无法启动应用,并报错:process launch failed: Security. 解决办法 点击iPhone6之前安装的应用版本,这时候会弹框让用户确认是否信任开发者的应用,点击信任,然后重新使用Xcode进行安装即可~

process launch failed: failed to get the task for process 1482

在真机调试过程中,如果遇到这种问题:Could not launch "EzPlug" process launch failed: failed to get the task for process 1482 这种问题其实很简单,就是你的证书设置不对,你只需要在code signing中将发布证书切换为开发者证书就ok了. 版权声明:本文为博主原创文章,未经博主允许不得转载.

真机调试时遇到“Could not launch *** process launch failed: Security”的解决办法

半年没写ios程序了,打算重新将这块技术捡回来.谁知道写的第一个测试程序在真机上就跑出来因为安全问题不能加载的情况. ios的版本是9.2的.看提示信息是app的启动被ios的安全机制阻挡了. 在手机(ipad同理)的设置-->通用-->设备管理 下面,找到了对应的描述文件,点开进去之后,有个“信任****”的按钮,点了之后设备会弹出一个提示,直接确认“信任”,然后重新在XCode上运行app就好了.

process launch failed : failed to get the task for process xxx

原因: 证书问题,project和targets的证书都必须是开发证书,ADHOC的证书会出现此问题. 解决方案: project和targets的证书使用开发证书.   其他: This error happens when you have set Distribution Provisioning profile in code signing. Change it to Developer Provisioning Profile, then it will work. Worked f

(adhoc) process launch failed: timed out waiting for app to launch

I had a similar issue when trying to debug an App with Ad-Hoc provisioning... Check which provisioning you're using, it seems ad-hoc provisioning cannot be used for debugging. EDIT In fact, it seems only development provisioning profiles are Ok for d

提示 launch failed

错误提示:Could not launch"appName" process launch failed: timed out waiting for app to launch: 产生这个错误的原因,可以通过打开项目的Scheme来查看. 菜单 -> Product -> Scheme -> Edit Scheme ,会出现对话框,在左侧选择Run,查看右侧info选项卡下的Build Configuration属性,你会发现它是Release.这是声称二进制文件的

XCode Could not launch "" failed to get the task for process

在Xcode下编译工程正常,在模拟器下运行正常,最后在真机上运行的时候出现了如下错误: Could not launch "FeedMeWorms" failed to get the task for process 3118 原因是:我的签名是distribution certificate,即发布者证书,不允许在真机上直接运行 使用开发者证书就OK了 参考:http://blog.csdn.net/teng_ontheway/article/details/8467932 XCo