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.

+3
ios xcode armv7 codesign


source to share


No one has answered this question yet

Check out similar questions:

1180
How can I check if a string contains another string in Objective-C?
324
"Warning: iPhone apps must include armv6 architecture" even with build config set
282
I am getting conflicting preferences settings when trying to archive to submit an iOS app
273
Undefined symbols for armv7 architecture
37
Xcode error 'CodeSign: Code Signing Required'
4
How does deleting a valid archv7s xCode 4.6 project property affect the App Store distribution of my iOS apps?
4
Xcode linker error-armv7 slice architecture
4
XCode 4.2 compilation for iPhone 3g (armv6)
0
This app is not compatible with this iPod touch
0
build failed xcode cannot exec 'codesign'



All Articles
Loading...
X
Show
Funny
Dev
Pics