How to sign application for distribution?

Discussion in 'iOS Programming' started by pashik, Dec 6, 2008.

  1. macrumors member

    Joined:
    Jul 16, 2008
    #1
    Hello.
    i received such message from AppStore when submitted application:
    I tested on all 2.x firmwares in Simulator and iPhone and everything works fine.
    There were such settings in project:
    "Configuration": "Distribution" - i copied it from Release and renamed to "Distribution"

    tab "General" - "Base SDK for All Configurations: Multiple values
    tab "Build" - "Code Signing Entitlements" is empty;
    "Code signing Identity" points to "iPhone Distribution: FirstName LastName";
    "Any iPhone OS Device" under "Code signing Identity" points also to "iPhone Distribution: FirstName LastName".

    in Target settings:
    tab "Build" - Code signing Identity" points to "iPhone Distribution: FirstName LastName";

    So according to note from apple i have to make project settings:
    "Code signing Identity" points to "iPhone Distribution"
    delete "Any iPhone OS Device" under "Code signing Identity"
    and set Target settings:
    tab "Build" - Code signing Identity" points to "iPhone Distribution: FirstName LastName";
    though there is no "Code Signing Provisioning Profile" in target "build" settings.

    Is it right? How to add "Code Signing Provisioning Profile" into build settings of target?
    what should i set Active SDK in project settings?
     
  2. macrumors 603

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #2
    IQ test

    I am close to being convinced that signing apps for installation and submission is an IQ test. One has to be smart enough to find the hidden clues in all the multiple documents and help forums, some of which appear to be ambiguous or conflicting, and follow the right ones to solve the puzzle. Your reward is access to the App Store.

    Try cleaning all builds, select the distribution build, then quit and restart XCode just before building any distribution version. Some people end up completely deleting the SDK, reinstalling it in a different user account, and creating a complete new set of keys and certificates.

    .
     

Share This Page