Command Line Tool - Error - xcrun: error: unable to find utility “xcodebuild”, not a developer tool or in PATH

后端 未结 2 1000
旧巷少年郎
旧巷少年郎 2020-12-12 11:04

I am getting this error while building the SwiftJSON framework to the Some Xcode project through Carthage Dependency Manager.

Sivaramaiah

2条回答
  •  时光取名叫无心
    2020-12-12 11:53

    I solved that problem by setting the Command Line Tools in Xcode. Go to:

    Xcode > Preferences > Locations

    And select the command line tool from the dropdown. If you have only one version of Xcode installed, there should be only one option. If you have several versions of Xcode, then you must choose the one you need.

    Update (added image for reference)

提交回复
热议问题