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.

How can I resolve this?
I have gone through following blogs but can't find any solution.
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
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 theCFBundleResourceSpecification
key (should probably have the valueResourceRules.plist
). I did some more testing now and it also happens if the keyCFBundleExecutable
is missing.CFBundleResourceSpecification
should be added in some build phase by Xcode but maybe it's a good idea to check the resultingInfo.plist
in the build directory if it's really there.Maybe this blog post could help, it's about
codesign
finding the wrongInfo.plist
file (one withoutCFBundleResourceSpecification
)http://infinite-sushi.com/2010/08/the-case-of-the-missing-cfbundleresourcespecification/