在我与xcode 3.2.5并行安装xcode 4.2之后,我在所有项目中都收到以下错误 . 当我为测试程序创建一个adhoc包时,我收到错误 .
我该如何解决这个问题?
我已经浏览了以下博客但找不到任何解决方案 .
Command /usr/bin/codesign failed with exit code 1
http://www.iphonedevsdk.com/forum/iphone-sdk-development/9370-codesign-failed-exit-code-1-a.html
http://blog.emmerinc.be/index.php/2009/03/26/codesign-failed-with-exit-code-1/
/usr/bin/codesign failed with exit code 1
当我使用Makefile手动构建和签署iOS应用程序包时,我看到了这个错误 . 在那种情况下,我的 Info.plist 缺少 CFBundleResourceSpecification 键(应该可能具有值 ResourceRules.plist ) . 我现在做了一些测试,如果缺少键 CFBundleExecutable ,也会发生这种情况 .
Info.plist
CFBundleResourceSpecification
ResourceRules.plist
CFBundleExecutable
应该在Xcode的某个构建阶段添加 CFBundleResourceSpecification ,但是如果它确实存在,那么在构建目录中检查生成的 Info.plist 可能是个好主意 .
也许这篇博文可能有所帮助,它是关于 codesign 找到错误的 Info.plist 文件(一个没有 CFBundleResourceSpecification )http://infinite-sushi.com/2010/08/the-case-of-the-missing-cfbundleresourcespecification/
codesign
1 回答
当我使用Makefile手动构建和签署iOS应用程序包时,我看到了这个错误 . 在那种情况下,我的
Info.plist
缺少CFBundleResourceSpecification
键(应该可能具有值ResourceRules.plist
) . 我现在做了一些测试,如果缺少键CFBundleExecutable
,也会发生这种情况 .应该在Xcode的某个构建阶段添加
CFBundleResourceSpecification
,但是如果它确实存在,那么在构建目录中检查生成的Info.plist
可能是个好主意 .也许这篇博文可能有所帮助,它是关于
codesign
找到错误的Info.plist
文件(一个没有CFBundleResourceSpecification
)http://infinite-sushi.com/2010/08/the-case-of-the-missing-cfbundleresourcespecification/