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

Support building xcarchive files

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: xcode-plugin
    • Labels:
      None
    • Environment:
      Mac
    • Similar Issues:

      Description

      The current Xcode plugin only supports building .app and .ipa files. It would be great to add an option to build Xcode archives (.xcarchive) files as well.

      This can be done from xcodebuild, for example:
      xcodebuild -target "My Target" -scheme "My Scheme" -configuration Release clean archive

      An alternative would be to have a post build step that can take the output .app and .dSYM files and bundle them up as a .xcarchive.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jeffro Ligon
          Path:
          src/main/java/au/com/rayh/XCodeBuilder.java
          src/main/resources/au/com/rayh/XCodeBuilder/config.jelly
          src/main/resources/au/com/rayh/XCodeBuilder/help-generateArchive.html
          http://jenkins-ci.org/commit/xcode-plugin/5baf21de28135977a0633aa08a092182bd60c5b1
          Log:
          [FIXED JENKINS-14719] added an option to produce .xcarchive

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jeffro Ligon Path: src/main/java/au/com/rayh/XCodeBuilder.java src/main/resources/au/com/rayh/XCodeBuilder/config.jelly src/main/resources/au/com/rayh/XCodeBuilder/help-generateArchive.html http://jenkins-ci.org/commit/xcode-plugin/5baf21de28135977a0633aa08a092182bd60c5b1 Log: [FIXED JENKINS-14719] added an option to produce .xcarchive
          Hide
          brianpartridge Brian Partridge added a comment -

          Thanks!

          Show
          brianpartridge Brian Partridge added a comment - Thanks!
          Hide
          diasd Daniela Dias added a comment -

          Hi,

          I am experiencing some issues when selecting this option and sending the .dSYM file to Testflight. I get the error 400 with the following message:

          "The .dSYM does not correspond with this build. Are you sure you uploaded the correct one?"

          I am using the last version of xCode, Jenkins and the plugins.

          If I disable the option to generate the .xcarchive everything works fine. Is this a normal behaviour?

          Thanks!

          Show
          diasd Daniela Dias added a comment - Hi, I am experiencing some issues when selecting this option and sending the .dSYM file to Testflight. I get the error 400 with the following message: "The .dSYM does not correspond with this build. Are you sure you uploaded the correct one?" I am using the last version of xCode, Jenkins and the plugins. If I disable the option to generate the .xcarchive everything works fine. Is this a normal behaviour? Thanks!

            People

            • Assignee:
              Unassigned
              Reporter:
              brianpartridge Brian Partridge
            • Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: