加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

xcode – E79CDDB501B68E74DDF03EA4E75246A7FDF010D0:找不到标

发布时间:2020-12-15 02:03:57 所属栏目:百科 来源:网络整理
导读:我正在面临代码问题。 我使用的是Xcode 6.0.1和Os x server 3.2.1 E79CDDB501B68E74DDF03EA4E75246A7FDF010D0: no identity foundCommand /usr/bin/codesign failed with exit code 1 我尝试了所有可能的解决方案是堆栈溢出,但我无法解决这个问题。任何人都
我正在面临代码问题。

我使用的是Xcode 6.0.1和Os x server 3.2.1

E79CDDB501B68E74DDF03EA4E75246A7FDF010D0: no identity found
Command /usr/bin/codesign failed with exit code 1

我尝试了所有可能的解决方案是堆栈溢出,但我无法解决这个问题。任何人都可以帮我解决这个问题。 ??

错误日志如下

/usr/bin/codesign --force --sign E79CDDB501B68E74DDF03EA4E75246A7FDF010D0 --keychain /Library/Developer/XcodeServer/Keychains/Portal.keychain --resource-rules=/Library/Developer/XcodeServer/Integrations/Caches/145dbe87fd1e5d8c0544850b54f3/DerivedData/Build/Products/Debug-iphoneos/SocialCircles.app/ResourceRules.plist --entitlements /Library/Developer/XcodeServer/Integrations/Caches/145dbe887fd1e5d8c0544850b54f34c8/DerivedData/Build/Intermediates/SocialCircles.build/Debug-iphoneos/XXX.build/xxx.app.xcent /Library/Developer/XcodeServer/Integrations/Caches/145dbe887fd1e5d8c0544850b54f34c8/DerivedData/Build/Products/Debug-iphoneos/xxx.app

我通过CL检查了Library / Developer / XcodeServer / Keychains / Portal.keychain。它只有

r--------  1 _xcsbuildd  _xcs     86032 Oct 15 10:21 Portal.keychain?

我猜Portal.keychain应该有codeign,xcodebuild也。我试图通过seanwolter的Stack Overflow中提供的答案导入它

sudo security import "/Users/administrator/Desktop/someCertificate.p12" -P PASSWORD -k /Library/Developer/XcodeServer/Keychains/Portal.keychain -A -T /usr/bin/codesign -T /usr/bin/xcodebuild -T /usr/bin/pkgbuild

但我收到这个错误

安全性:SecKeychainItemImport:无法找到指定的钥匙串。

我不知道如何解决这个问题。请帮我出来!

解决方法

我遇到过同样的问题。我通过以下方法修复:

Xcode > Preferences > Accounts > View Details > And just refresh the Provisioning Profile

然后重新启动Xcode并清理并构建。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读