小编Aym*_*tre的帖子

命令/ usr/bin/codesign失败,退出代码为5

我最近将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
Run Code Online (Sandbox Code Playgroud)

命令/ usr/bin/codesign失败,退出代码为5

供应配置文件似乎没问题,因为我在Xcode/preferences/accounts窗口中找到了它.

我试图xattr -c *在派生文件夹中运行命令,但它不起作用.

xcode ios provisioning-profile macos-sierra

13
推荐指数
1
解决办法
1495
查看次数

标签 统计

ios ×1

macos-sierra ×1

provisioning-profile ×1

xcode ×1