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

Custom xcodebuild arguments not passed through to export archive step

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: xcode-plugin
    • Labels:
      None
    • Environment:
      Jenkins v2.107.1, Xcode integration plugin v2.0.0
    • Similar Issues:

      Description

      It appears that from version 2.0.0 of the Xcode integration plugin, which now uses xcodebuild -exportarchive for packaging the IPA, any parameters set in the Custom xcodebuild arguments are not passed through to this step.

        Attachments

          Activity

          okbfs Kyle Orth created issue -
          kazuhidet Kazuhide Takahashi made changes -
          Field Original Value New Value
          Assignee Kazuhide Takahashi [ kazuhidet ]
          Hide
          kazuhidet Kazuhide Takahashi added a comment -

          From Xcode 8.3, it is not possible to pass the option parameter of -exportArchive from the command line of xcodebuild.
          For details, refer to "Xcode 8.3 Deprecation and Removal Notices" at the following URL.

          https://developer.apple.com/library/archive/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html

          Basically, other parameters for exporting the archive are now passed via the plist file specified by -exportOptionsPlist, so the plugin was change accordingly.

          You can download the snapshot that applied this change from the following URL, so if you can, please test with this.

          https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fxcode-plugin/detail/PR-94/11/artifacts

           

          Show
          kazuhidet Kazuhide Takahashi added a comment - From Xcode 8.3, it is not possible to pass the option parameter of -exportArchive from the command line of xcodebuild. For details, refer to "Xcode 8.3 Deprecation and Removal Notices" at the following URL. https://developer.apple.com/library/archive/releasenotes/DeveloperTools/RN-Xcode/Chapters/Introduction.html Basically, other parameters for exporting the archive are now passed via the plist file specified by -exportOptionsPlist, so the plugin was change accordingly. You can download the snapshot that applied this change from the following URL, so if you can, please test with this. https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fxcode-plugin/detail/PR-94/11/artifacts  
          kazuhidet Kazuhide Takahashi made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          kazuhidet Kazuhide Takahashi added a comment -

          Since version 2.0.3 supported all the parameters that can be passed to export archive at exportOptions.plist, this bug have been fixed.

          Show
          kazuhidet Kazuhide Takahashi added a comment - Since version 2.0.3 supported all the parameters that can be passed to export archive at exportOptions.plist, this bug have been fixed.
          kazuhidet Kazuhide Takahashi made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          kazuhidet Kazuhide Takahashi made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              kazuhidet Kazuhide Takahashi
              Reporter:
              okbfs Kyle Orth
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: