Stuck with “Command /usr/bin/codesign failed with exit code 1 ” Error

前端 未结 1 1345
感情败类
感情败类 2021-01-21 19:13

I am getting the following error in all my the projects after I installed xcode 4.2 in parallel with xcode 3.2.5 I get the error when I create an adhoc bundle for the Tester

相关标签:
1条回答
  • 2021-01-21 20:07

    I have seen this error when I manually built and signed an iOS application bundle using a Makefile. In that case my Info.plist was missing the CFBundleResourceSpecification key (should probably have the value ResourceRules.plist). I did some more testing now and it also happens if the key CFBundleExecutable is missing.

    CFBundleResourceSpecification should be added in some build phase by Xcode but maybe it's a good idea to check the resulting Info.plist in the build directory if it's really there.

    Maybe this blog post could help, it's about codesign finding the wrong Info.plist file (one without CFBundleResourceSpecification)
    http://infinite-sushi.com/2010/08/the-case-of-the-missing-cfbundleresourcespecification/

    0 讨论(0)
提交回复
热议问题