Codesign Check Fails. The code object is not signed at all. In architecture: armv7
I ran the app on my test iPod Touch 3G with iOS5.0.1 (9A405). The app meets the requirements and works fine on a real device. I have a developer account set up. I am getting the following error:
Error: Codesign validation fails: / Users / apple / Library / Developer / Xcode / Archives / 2012-03-12 / AppName 3-12-12 9.58 PM.xcarchive / Products / Applications / AppName.app: code object not signed at all In architecture: armv7.
I am assuming my iPod Touch is an armv6 device. But in AppName-Info.Plist
I have the following fields: Architecture Standard (armv7) - $ (ARCHS_STANDARD_32_BIT) Base SDK New iOS (iOS 5.0)
Code Signing Rights Debug Release iPhone Code Signing ID Debug iPhone Developer Any iPhone iOS SDK Developer Release iPhone Developer Any iPhone iOS SDK Developer
One additional thing, CODE_SIGN_REQUIRED is set to NO in /Platform/iPhoneOS.Platform/Developer/SDKs/iPhoneOS5.0.sdk/Developer/SDKSettings.plist. I can't seem to change it to YES. I am copying this file to my desktop. Modify the field and return it to that location. This field will not update even if Xcode Version 4.2.1 (4D502) is closed.
EDIT: I have updated this file using the command line. I was able to change CODE_SIGN_REQUIRED to YES, but the problem still persists.
<dict> <key>AlternateSDK</key> <string>iphonesimulator5.0</string> <key>CanonicalName</key> <string>iphoneos5.0</string> <key>CustomProperties</key> <dict/> <key>DefaultProperties</key> <dict> <key>AD_HOC_CODE_SIGNING_ALLOWED</key> <string>NO</string> <key>CODE_SIGNING_REQUIRED</key> <string>YES</string> <key>CODE_SIGN_ENTITLEMENTS</key> <string></string> <key>DEAD_CODE_STRIPPING</key> <string>YES</string> <key>ENTITLEMENTS_REQUIRED</key> <string>YES</string>
Do I need to not have CODE_SIGN_ENTITLEMENTS from empty to YES? Please, help.
Why is it so hard to code in Xcode? I had an app released on the android app store. It was much easier.
source to share
No one has answered this question yet
Check out similar questions: