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

前端 未结 21 1192
萌比男神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:49

    If you are running an Xcode beta version (Apple calls it a "developer preview") you will get this error because you're not allowed to submit apps from a beta version. This restriction is not mentioned in the Read Me file or on the Xcode download page. To submit an app, you will need to uninstall Developer Tools, then reinstall the latest non-beta version, then restart your computer.

    Here's the command-line command to uninstall:

    sudo /Developer/Library/uninstall-devtools --mode=all
    

提交回复
热议问题