Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12151

Control the signing certificate for both the build and the packaging step

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • xcode-plugin
    • None

      I currently have a need to build the same XCode project multiple times with different Provisioning Profiles and Identities. Currently, I do this by appending a 'CODE_SIGN_IDENTITY="xxxxxx"' to the 'xcodebuild' command, and '--sign "xxxxxx"' to the xcrun command when packaging the .ipa, where "xxxxxx" is the identity, such as "iPhone Distribution: SomeCompany".

      NOTE: for the '--sign' parameter on the xcrun command, this is actually a parameter to the tool "PackageApplication", which you run using xcrun.

            lacostej lacostej
            mandeepr Mandeep Rai
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: