我面临协同设计问题。
我正在使用 Xcode 6.0.1 和 Os x server 3.2.1
E79CDDB501B68E74DDF03EA4E75246A7FDF010D0: no identity found
Command /usr/bin/codesign failed with exit code 1
我尝试了 Stack Overflow 中所有可能的答案,但无法解决这个问题。谁能帮我解决这个问题。 ??
错误日志如下
/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
我检查了Library/Developer/XcodeServer/Keychains/Portal.keychain
通过 CL。它只有
r-------- 1 _xcsbuildd _xcs 86032 Oct 15 10:21 Portal.keychain
我想 Portal.keychain 应该有 codesign,xcodebuild 也有。我尝试使用 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:找不到指定的钥匙串。
我不知道如何解决这个问题。请帮帮我...!!!