美文网首页
resource fork, Finder informatio

resource fork, Finder informatio

作者: JackSteven | 来源:发表于2017-04-14 09:37 被阅读0次

    XCode编译错误,如下:

    CodeSign /Users/admin/Library/Developer/Xcode/DerivedData/*****-boisxxdutqljesbobjrzobopdorf/Build/Products/Debug-iphonesimulator/imobii-waiqin.app

    cd "/Users/admin/Desktop/clientapptag/ios"

    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/admin/Library/Developer/Xcode/DerivedData/*****-boisxxdutqljesbobjrzobopdorf/Build/Products/Debug-iphonesimulator/*****.app

    /Users/admin/Library/Developer/Xcode/DerivedData/*****-boisxxdutqljesbobjrzobopdorf/Build/Products/Debug-iphonesimulator/*****.app: resource fork, Finder information, or similar detritus not allowed

    Command /usr/bin/codesign failed with exit code 1

    原因如下:

    图片错误,格式错误,通过命令修改图片属性即可。

    xattr -c Default.png


    stackoverflow解决方案:

    http://stackoverflow.com/questions/39652867/code-sign-error-in-macos-sierra-xcode-8-resource-fork-finder-information-or

    相关文章

      网友评论

          本文标题:resource fork, Finder informatio

          本文链接:https://www.haomeiwen.com/subject/gdcwattx.html