我最近將Mac OS的更新從10.11更新到10.12,並且我無法再在Xcode 8.0中籤署我的iOS應用程序。命令/ usr/bin/codesign失敗,退出代碼5
我得到這個錯誤:
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中/協同設計與退出代碼5
的供應配置文件似乎是確定,因爲我在Xcode/preferences/accounts
窗口中找到它失敗了。
我試過在衍生文件夾中運行xattr -c *
命令,但它不起作用。
您是否找到解決方案? –
否:(我想我要在另一個啓動分區上安裝El Captain並在其上安裝Xcode。下一次我將在OSX更新之前使用Time機器! –
我找不到解決方案。程序在另一臺機器上,我有成功,我認爲有東西被損壞,但我不知道是什麼 –