Xcode iOS organizer submit to app store yields “The archive is invalid” error

前端 未结 21 1159
萌比男神i
萌比男神i 2021-01-01 18:35

I just switched from Xcode 3 to 4. When I attempt to upload an app that I have archived to the organizer, I receive this error:

The archive is invalid

相关标签:
21条回答
  • 2021-01-01 18:37

    for xcode 4 I tried every thing but I can t solve this error until install xcode 4.2 for snowleopart

    if you cant see your app icon in validation page its can be your xcode have error. download from apple developer page xcode 4.2 and install. its solved. you dont need to uninstall your xcode 4 just download new xcode 4.2 and install. I am very fine now

    0 讨论(0)
  • 2021-01-01 18:40

    Have you been playing around with the ENTITLEMENTS_REQUIRED attribute at /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/SDKSettings.plist (let say to create jailbroken applications)?

    In this case, please reset ENTITLEMENTS_REQUIRED to YES.

    0 讨论(0)
  • 2021-01-01 18:41

    I tried most of the ideas above, and they did not work for me, likely because I am using he Appcelerator Titanium platform. I did however delete the Build directory and re-built the product and it passed the validation and I was able to upload the binary to the app store.

    0 讨论(0)
  • 2021-01-01 18:42

    Okay, so when you install the Xcode 4 package, make sure you have the "Unix Tools" option selected. This was the problem in my case.

    0 讨论(0)
  • 2021-01-01 18:42
    1. Quit Xcode
    2. With a text editor open the file YourProject.xcodeproj/project.pbxproj
    3. Delete all lines containing PROVISIONING_FILE =
    4. Delete all lines containing CODE_SIGN_IDENTITY =
    5. Save & close project.pbxproj
    6. Reopen your project in Xcode
    7. Clean the project
    8. In the Build Settings pane choose the correct code signing identity
    9. Rebuild
    0 讨论(0)
  • 2021-01-01 18:42

    I recently switched to a new MacBook Pro and had XCode 4 installed from a Time Machine drive via the Migration Assistant.

    Re-installing XCode 4 with the Unix Tools fixed it.

    For some reason those files weren't getting copied across with Migration Assistant.

    0 讨论(0)
提交回复
热议问题