Reputation: 163
This morning, xcode got updated to version 8.3 on my osx building device.
Since then, when I try to build my iOs app with Cordova, I get the following error at the end of the building process:
[exec]
[exec] ** BUILD SUCCEEDED **
[exec]
[exec] xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH
[exec] Error: Error code 72 for command: xcrun with args: -sdk,iphoneos,PackageApplication,-v,[source.app]-o,[destination.ipa]
[exec] Result 1
I can't seem to get this fixed in my Cordova or Xcode setup. Wouldn't know where to start ;)
Did anyone experience the same issue? Do you have some advise for a solution.
Thank you!
(I'll be happy to buy a beer if you could help me out)
Upvotes: 7
Views: 5704
Reputation: 968
After you try to build on device using
ionic run ios --device -l -c
Open the project on the xCode without terminating the code you typed
Try to run the project on xCode too and tada. It works on phone with debug on terminal.
Upvotes: 0
Reputation: 136
Upgrade your ios platform in config.xml:
<engine name="ios" spec="~4.3.1" />
Then reinstall your platform:
rm -rf platforms/
cordova prepare
Upvotes: 5
Reputation: 21369
There's a cordova-ios PR (#257, now merged - https://github.com/apache/cordova-ios/pull/257) for this issue.
So, updating cordova-ios is the fix.
Upvotes: 2
Reputation: 2146
We only solution we had is:
Contents\Developer\Platforms\IPhoneOS.platform\DeviceSupport\10.3
folderContents\Developer\Platforms\IPhoneOS.platform\DeviceSupport\
Upvotes: 1
Reputation: 71
This tool has been removed from Xcode 8.3. It was marked as deprecated for a few versions, and now it's sadly gone.
You will need to use xcodebuild and it may be a bit of a pain with Cordova
Upvotes: -1