Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: xcode-plugin
    • Labels:
      None
    • Environment:
      Xcode 8.3,Mac OS 10.12.4
    • Similar Issues:

      Description

      Any update on the latest version of Xcode plugin to get released??. I am facing the same issue unable to find "PackageApplication" utility while creating an IPA through Jenkins.

      I tried an alternate way to generate IPA, but it also failed using Jenkins, Whereas the same i am able  to achieve through terminal command prompt.It was able to archive file and creates an IPA file successfully without any issues.

      Steps  followed: (Created a Shell Script under build options in Jenkins)

      1. Go to the path of Xcode Project

        cd <Path of ur Xcode Project>

       

      1. Archive the application
        xcodebuild \
        -scheme {SCHEMA_NAME} \
        -sdk {SDK_NAME} \
        -archivePath {WORKSPACE}\ App.xcarchive \
        -configuration Release \
        PROVISIONING_PROFILE={PROVISIONING_PROFILENAME} \
        archive
      1. Export the archive to an ipa
        xcodebuild \
        -exportArchive \
        -archivePath {WORKSPACE}\ App.xcarchive \
        -exportOptionsPlist {PLIST_PATH}\Enterprise.plist" \
        -exportPath {WORKSPACE}/ipa-dir

       

      Enterprise.plist

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
      <plist version="1.0">
      <dict>
      <key>method</key>
      <string>enterprise</string>
      <key>teamID</key>
      <string>xxxxxxx</string>    --->You can get it in the developer portal.
      <key>compileBitcode</key>
      <false/>
      </dict>
      </plist>

      Using Mac Terminal, i was able to create archive and IPA with latest Xcode 8.3 and mac os 10.12.4. But through Jenkins, i was not able to create archive and IPA.Its saying build succeed but archive is not getting created in the path..Can anyone suggest any solution??

        Attachments

          Activity

          ravikiran082 Ravikiran Annavarapu created issue -
          ravikiran082 Ravikiran Annavarapu made changes -
          Field Original Value New Value
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Hide
          aheritier Arnaud Héritier added a comment -
          Show
          aheritier Arnaud Héritier added a comment - Fixed by 2.0.0  https://github.com/jenkinsci/xcode-plugin/pull/78
          aheritier Arnaud Héritier made changes -
          Assignee Arnaud Héritier [ aheritier ]

            People

            • Assignee:
              aheritier Arnaud Héritier
              Reporter:
              ravikiran082 Ravikiran Annavarapu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: