构建iOS应用程序时出现代码签名错误

时间:2016-11-02 11:58:34

标签: ios

运行应用程序时出现此错误,它在构建期间失败。

/Users/USER/Library/Developer/Xcode/DerivedData/APPNAME-cqrknuczxqiiuxcvjlupnrmizjox/Build/Products/Debug-iphonesimulator/TOCropViewControllerBundle.bundle: bundle format unrecognized, invalid, or unsuitable
Command /usr/bin/codesign failed with exit code 1

是不是因为cocoapods'pods'文件夹中有一个包?

CodeSign /Users/USER/Library/Developer/Xcode/DerivedData/APPNAME-cqrknuczxqiiuxcvjlupnrmizjox/Build/Products/Debug-iphonesimulator/TOCropViewControllerBundle.bundle
    cd /Users/USER/APPNAME/Pods
    export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

Signing Identity:     "-"

    /usr/bin/codesign --force --sign - --timestamp=none /Users/USER/Library/Developer/Xcode/DerivedData/APPNAME-cqrknuczxqiiuxcvjlupnrmizjox/Build/Products/Debug-iphonesimulator/TOCropViewControllerBundle.bundle

0 个答案:

没有答案
相关问题