Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Blocker
-
Resolution: Fixed
-
Component/s: xcode-plugin
-
Labels:None
-
Environment:Xcode 8.3, macOS 10.12.3
-
Similar Issues:
Description
I've updated the Xcode (to version 8.3) today and now all my Jenkins iOS builds are failing.
This is the error:
xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH
It looks like PackageApplication is removed from Xcode 8.3.
In Xcode 8.2 there was a warning: PackageApplication is deprecated, use `xcodebuild -exportArchive` instead.
Xcode Plugin should change the way it builds IPA file.
Temporary Fix:
If you have Xcode 8.2.1 or any version below 8.3, copy PackageApplication script from
Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
OR you can Download from this link - https://gist.github.com/anonymous/48f3e4c5ae25313dc0fe10d9ec50c3fc
Go to finder -
Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
paste the copied/downloaded above file here.