【发布时间】:2017-02-18 10:12:23
【问题描述】:
在 XCode(产品 > 存档)中存档应用程序时,我收到以下错误:
CodeSign /Users/xxx/Library/Developer/Xcode/DerivedData/name-xxx/Build/Intermediates/ArchiveIntermediates/name/InstallationBuildProductsLocation/Applications/name.app
cd /Users/xxx/Documents/name/App/platforms/ios
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
Signing Identity: "iPhone Developer: xxx xxx (S5L8942T98)"
Provisioning Profile: "iOS Team Provisioning Profile: xxx"
(xxx)
/usr/bin/codesign --force --sign xxx --entitlements /Users/xxx/Library/Developer/Xcode/DerivedData/name-xxx/Build/Intermediates/ArchiveIntermediates/name/IntermediateBuildFilesPath/name.build/Release-iphoneos/name.build/name.app.xcent --timestamp=none /Users/xxx/Library/Developer/Xcode/DerivedData/name-xxx/Build/Intermediates/ArchiveIntermediates/name/InstallationBuildProductsLocation/Applications/name.app
error: The specified item could not be found in the keychain.
我撤销了我的所有证书并创建了新的配置文件,很遗憾它没有帮助。
我找到了this thread,但我认为这无关。显然我的钥匙串中缺少某些东西,但是什么?
编辑:
这是我钥匙串的截图:
ID 与错误代码中的 ID 匹配。
【问题讨论】:
-
尝试删除派生数据并重新启动 xcode,清理项目然后存档
-
是您的帐户在 xcode 中登录。
-
@iYoung:我按照这里的步骤操作:stackoverflow.com/questions/38016143/…。不幸的是,它并没有解决问题。
-
@FahadJamal:是的,看起来好像该帐户已登录。
-
我找不到解决方案,不得不完全重新安装我的操作系统。
标签: ios xcode ionic-framework