代码签名错误,iOS9

前端之家收集整理的这篇文章主要介绍了代码签名错误,iOS9前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
参见英文答案 > Uploading archive error: “Missing iOS Distribution signing identity for …”                                    9个
我真的厌倦了这一点.我已经尽力解决了这个问题.但没有取得成功.我的SWIFT代码在模拟器上运行良好.但是当我尝试在设备上运行它或尝试进行存档时,我得到了这个编译错误

Couldn't codesign /Users/SandeepHoney/Library/Developer/Xcode/DerivedData/SocialCircle-advannpwpzlrtleupycqgmvugcst/Build/Products/Debug-iphoneos/SocialCircle.app/Frameworks/libswiftCoreLocation.dylib: codesign Failed with exit code 1

我试图重新生成配置文件.但那件事情甚至没有奏效.我跟着this.但没有工作..
 不知道我做错了什么.

解决方法

问题是因为Apple WWDRCA在 Feb 14,2016到期.

解决这个问题

>转到您的钥匙串访问,然后在菜单
>点击查看 – – >显示过期的证书.

delete the expired Apple Worldwide Developer Relations Certificate Authority from both the login and System Keychains.

>在系统下,您可以看到您的证书已过期

enter image description here

>在downloading之前从Apple安装续订证书并双击它.

Your keychain should show like that

>重启你的xcode>清理您的项目和构建

猜你在找的Xcode相关文章