-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
Xcode 8.3,Mac OS 10.12.4
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)
- Go to the path of Xcode Project
cd <Path of ur Xcode Project>
- Archive the application
xcodebuild \
-scheme {SCHEMA_NAME} \
-sdk {SDK_NAME} \
-archivePath {WORKSPACE}\ App.xcarchive \
-configuration Release \
PROVISIONING_PROFILE={PROVISIONING_PROFILENAME} \
archive
- 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??