ios - xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH - Since updating xCode -


updated xcode morning , ionic project wont deploy device.

ionic run ios --device 

returns:

** build succeeded **   xcrun: error: unable find utility "packageapplication", not developer tool or in path  error: error code 72 command: xcrun args: -sdk,iphoneos,packageapplication,-v 

no idea fix, googling returns lots of options none correct.

cordova trying use "packageapplication" tool. removed since xcode 8.3. ( @guyromb this )

for coming error jenkins/fastlane here temporary fix till jenkins xcode plugin gives fix on this

if have xcode 8.2.1 or version below 8.3, copy packageapplication script applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/usr/bin

or can download link - https://gist.github.com/anonymous/48f3e4c5ae25313dc0fe10d9ec50c3fc

go finder - applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/usr/bin

paste copied/downloaded above file here.

enter image description here


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

asp.net ajax - Jquery scroll to element just goes to top of page -