【发布时间】:2017-02-01 12:13:31
【问题描述】:
我最近将 mac OS 从 10.11 更新到 10.12,我无法再在 Xcode 8.0 中签署我的 iOS 应用程序。
我收到此错误:
CodeSign /Users/aymericpitre/Library/Developer/Xcode/DerivedData/OrpiDirect-ghphwnhfbtdulhgauptikzmsrqdi/Build/Products/Debug-iphoneos/OrpiDirect.app
cd /Users/aymericpitre/Documents/projets/Ville-de-lyon-iPhone/VilleDelyon_git/ville_de_lyon
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: aymeric xxxx (SYC4JR6K8G)"
Provisioning Profile: "VDL-sierra"
(756b4f3a-26aa-4937-ba40-4cc4eea03e92)
/usr/bin/codesign --force --sign D60599B3AE74EE1D4863C249026FA28545A07689 --entitlements /Users/aymeric/Library/Developer/Xcode/DerivedData/OrpiDirect-ghphwnhfbtdulhgauptikzmsrqdi/Build/Intermediates/OrpiDirect.build/Debug-iphoneos/OrpiDirect.build/OrpiDirect.app.xcent --timestamp=none /Users/aymeric/Library/Developer/Xcode/DerivedData/OrpiDirect-ghphwnhfbtdulhgauptikzmsrqdi/Build/Products/Debug-iphoneos/OrpiDirect.app
命令 /usr/bin/codesign 失败,退出代码为 5
配置文件似乎没问题,因为我在 Xcode/preferences/accounts 窗口中找到它。
我尝试在派生文件夹中运行xattr -c * 命令,但它不起作用。
【问题讨论】:
-
您找到解决方案了吗?
-
否 :( 我想我将在另一个引导分区上安装 El Captain 并在其上安装 Xcode。下次我将在进行 OSX 更新之前使用 Time machine !
-
我找不到解决方案。我在另一台机器上尝试了同样的程序,我成功了。我认为有些东西损坏了,但我不知道是什么。
-
这个周末我会做一个清晰的新安装我会告诉你的。非常感谢您的尝试;)
-
我已经重新安装了 xcode,但我遇到了同样的问题。 Xcode 在安装 Sierra 之前工作正常,但之后每当我在设备上存档或运行它时都会给我这个错误。有人可以帮忙吗?
标签: ios xcode provisioning-profile macos-sierra