Xcode 8未找到代码签名 [英] Xcode 8 no code signature found

查看:90
本文介绍了Xcode 8未找到代码签名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到Xcode 8后,由于以下错误,我无法在设备上调试:

After I upgraded to Xcode 8, I am unable to debug on the device due to the following error:

App installation failed. No code signature found.

我的设置,观察结果和到目前为止我尝试过的操作:

My setup, observations and what I've tried so far:


  • 设备已安装iOS 10

  • 在Xcode 7中对设备上的代码签名和调试有效(未对代码签名进行任何更改) )

  • 该应用程序具有监视应用程序(在没有监视应用程序的情况下进行构建/运行不会更改任何内容)

  • 刷新配置文件,将其全部删除并重新下载它们没有任何改变

  • 从构建设置中删除所有代码签名设置,并启用自动管理签名,这也无济于事

  • 我一直在清理构建文件夹

  • 我尝试重新启动设备,xcode,mac

  • 我的同事报告了相同的内容同一项目的问题

  • 我尝试还原Xcode 8建议的更改(构建设置,警告修复等)

  • The device has iOS 10 installed
  • Code signing and debugging on the device in Xcode 7 works (no changes made to the code signing)
  • The app has a watch app (build/run without watch app didn't change anything)
  • Refreshing provisioning profiles, removing all of them and redownloading them didn't change anything
  • Removing ALL code signing setup from the build settings and enabled "automatically manage signing", which also didn't help
  • I'm always cleaning the build folder
  • I've tried restarting the device, xcode, the mac
  • My colleague reports the same issue with the same project
  • I've tried reverting the changes Xcode 8 suggested (build settings, warning fixes, ...)

推荐答案




旧答案是错误的



我在这里遇到了同样的问题,我有五个项目,其中四个不能在设备上调试,只有一个可以在设备上调试。我比较了Xcode项目文件,但没有弄清楚。我认为这是供应配置文件问题。似乎Xcode会在您的Xcode中生成开发配置文件,并且没有将其上传到您的Apple开发人员帐户。


older answer is wrong

I got the same problem here, I have five project, and the four of them can not debug on device and only one can debug on device. I compared the Xcode project files and did not figure it out. I believe it is a provisioning profile issue. it seem that the Xcode will generate the development provisioning profile in your Xcode and did not upload it to your apple developer account.

我终于解决了我的问题,似乎是第三本框架手册在构建设置的签名部分中设置了代码签名标识或配置文件。然后安装第三个框架,在代码签名阶段,Xcode将搜索该框架的不存在的代码签名标识或配置文件,然后失败。

I finally solve my problem, it seems like a third framework manual set the codesign identity or privisioning profile in the signing seciton of build setting. then you install this third framework, in the codesigning phase, Xcode will search the non-existing codesign identity or privisioning profile for this framework, then it failed.

这篇关于Xcode 8未找到代码签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆