Search code examples
xcodeapp-storexcode4

How do I submit an app through Xcode 4's organizer? I'm getting an error


I installed Xcode 4, thinking it would be similar to Xcode 3, and now I cannot get my binary to the App Store using organizer which I believe is the proper way to do this.

Has anyone got this working properly? Not sure what setting I need to update - All I get is an "invalid binary" message. Of course, it is a critical update I need to submit.


Solution

  • I've had something similar. You should check your code signing settings. Xcode 4 introduces "schemes", which are a little complicated. Think of them as sets of configurations. In Xcode 3, you could only have one such set of settings.

    I believe that you need to check your code signing settings for your active scheme. Check the "Archive" option.

    Edit your code signing settings:

    Set up code signing

    Then, ensure that your "Archive" option is using the correct signing settings. Click on the "Edit Scheme" entry in the menu on the top left of your window.

    enter image description here

    And then verify that the proper signing setting is being used:

    enter image description here

    Depending on how you've set up your code signing and Build Settings, you may need to adjust your schemes appropriately.