xcrun: error: unable to find utility “PackageApplication”, not a developer tool or in PATH - Since updating Xcode

后端 未结 10 621
暗喜
暗喜 2020-12-08 06:42

Updated Xcode this morning and now ionic project wont deploy to a device.

ionic run ios --device

Returns:

** BUILD SUCCEEDE         


        
相关标签:
10条回答
  • 2020-12-08 07:07

    Cordova is trying to use "PackageApplication" tool. But it was removed since Xcode 8.3. Either downgrade Xcode or wait for Cordova to have a fix for that.

    0 讨论(0)
  • 2020-12-08 07:07

    I used shenzhen this automatic procedure encountered a similar problem, and finally in accordance with the github Pull Request to solve my problem, hope for your reference! https://github.com/nomad/shenzhen/pull/347

    0 讨论(0)
  • 2020-12-08 07:12

    Cordova is trying to use PackageApplication tool. But it was removed since Xcode 8.3. ( Thanks @guyromb for this )

    For those who are coming from an error from Jenkins/fastlane here is a temporary fix till jenkins xcode plugin gives a fix on this

    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.

    0 讨论(0)
  • 2020-12-08 07:14

    Linked in the Jenkins issue that matson kepson mentioned here there was a guy who attempted a PR to fix the issue. There was some unfinished change requests in his PR and I also found a few null ptrs in his changes. I forked his pr and fixed these things here and there is now a snapshot linked here that you can download and become unblocked until such a change is merged into the full build.

    0 讨论(0)
  • 2020-12-08 07:19

    Hi its official Bug from jenkins

    here you have a fresh status

    https://issues.jenkins-ci.org/browse/JENKINS-43163


    Little bit clearer to look at this:

    http://subathrathanabalan.com/2016/01/07/building-ipa-export-archive/

    0 讨论(0)
  • An option is open a .xcodeproj file located at platforms/ios and run the project directly from Xcode.

    0 讨论(0)
提交回复
热议问题