问题描述
我正面临代码签名问题.
I am facing codesign issue.
我正在使用Xcode 6.0.1和Os x服务器3.2.1
I am using Xcode 6.0.1 and Os x server 3.2.1
E79CDDB501B68E74DDF03EA4E75246A7FDF010D0: no identity found
Command /usr/bin/codesign failed with exit code 1
我尝试了堆栈溢出中所有可能的答案,但无法解决此问题.谁能帮我解决这个问题. ??
I tried all possible answers which are in Stack Overflow but i am unable to resolve this issue. Can anyone help me out with this issue. ??
错误日志如下
/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
.它只有
I checked Library/Developer/XcodeServer/Keychains/Portal.keychain
through CL. It has only
r-------- 1 _xcsbuildd _xcs 86032 Oct 15 10:21 Portal.keychain
我想Portal.keychain应该有codesign,xcodebuild也应该.我尝试使用 seanwolter
I guess Portal.keychain should have codesign, xcodebuild also. I tried to import it using the answer provided in Stack Overflow by seanwolter
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:找不到指定的钥匙串.
security: SecKeychainItemImport: The specified keychain could not be found.
我不知道该怎么办.请帮帮我... !!!
I dont know how to go about this issue. Please help me out...!!!
推荐答案
我遇到了同样的问题.我通过以下方法对其进行了修复:
I had the same issue. I fixed it through the following method :
Xcode > Preferences > Accounts > View Details > And just refresh the Provisioning Profile
然后Restart the Xcode and Clean and Build.
这篇关于E79CDDB501B68E74DDF03EA4E75246A7FDF010D0:找不到身份命令/usr/bin/codesign失败,退出代码为1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!