美文网首页
(已解决)iPhone has denied the launc

(已解决)iPhone has denied the launc

作者: 罗乐萌m | 来源:发表于2019-10-15 15:30 被阅读0次

今天使用真机调试项目时Xcode突然弹出如下错误

iPhone has denied the launch request. Internal launch error: process launch failed: Unspecified
各种clear、找了各种选项、把证书换了一遍,还是没解决问题

开发环境

Xcode 11.2 Beta2
设备:iPhone 6s +13.2(试了其它几个测试机,都存在该问题)
这是比较靠谱解决方案地址,但依旧没解决问题

最后的解决方案

将正在使用的主工程的target对应的schemes 删除重新添加,即可解决
操作步骤如下
1.在xcode顶部点击正在使用的schemes


2.在弹出的下拉框选择Edit schemes


3.在弹出的页面中选择Manager Schemes


4.选择调试报错的schemes,点击 "-"号按钮删除 选中报错的schemes

5.同样在该页面再次点击‘+’号按钮,在弹出的页面选择第4步删除的schemes对应的target,点击OK按钮。


添加schemes

6.再次运行调试,正常运行
7.Done!

相关文章

网友评论

      本文标题:(已解决)iPhone has denied the launc

      本文链接:https://www.haomeiwen.com/subject/gadsmctx.html