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

Custom xcodebuild arguments not passed through to export archive step

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • xcode-plugin
    • None
    • Jenkins v2.107.1, Xcode integration plugin v2.0.0

    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

          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 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  

          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 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.

          People

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

            Dates

              Created:
              Updated:
              Resolved: