简体   繁体   中英

object file format invalid or unsuitable running application in ipad device

I have created a projest where i have all the certificates created but when i try to run the code it gives me error..

My code used to work on same certificates and code. i installed Xcode 4 and xcode 3.2 on same system. I uninstall all and installed xcode 3.2 and now it is giving me following error.

CodeSign "build/Release-iphoneos/SAT Study Guide.app" cd "/Volumes/MANOJ/GRE Study Guide" setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" setenv _CODESIGN_ALLOCATE_ /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate /usr/bin/codesign -f -s "iPhone Developer: abhishek sonawane (7576SD6Q4Q)" "--resource-rules=/Volumes/MANOJ/GRE Study Guide/build/Release-iphoneos/SAT Study Guide.app/ResourceRules.plist" --entitlements "/Volumes/MANOJ/GRE Study Guide/build/SAT Study Guide.build/Release-iphoneos/SAT Study Guide.build/SAT Study Guide.xcent" "/Volumes/MANOJ/GRE Study Guide/build/Release-iphoneos/SAT Study Guide.app" /Volumes/MANOJ/GRE Study Guide/build/Release-iphoneos/SAT Study Guide.app: object file format invalid or unsuitable Command /usr/bin/codesign failed with exit code 1

any help will be appreciated. Thank you!

This same question was asked multiple times on this site... Here's one with a few different answers. It looks like different things work for different people.

iPhone Codesign object file format invalid or unsuitable

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM