unable to find utility “xcodebuild”

Symptom

$ carthage update

*** Fetching iCimulator

*** Checking out iCimulator at “1.5”

*** xcodebuild output can be found in /var/folders/gm/t2l4p33d1r9gpqzscb8kdggw0000gn/T/carthage-xcodebuild.vQIFtO.log

A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/uchukamen/Desktop/Swift/NegaViewer/NegaViewerV1.1.1/Carthage/Checkouts/iCimulator/iCimulator.xcworkspace CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES -list) failed with exit code 72:

xcrun: error: unable to find utility “xcodebuild”, not a developer tool or in PATH

Solution

xcode menu >> “xcode” >> preferences >> Location >> Comand Line Tools で値を設定

Check “Command Line Tools” is not “”.

投稿者: admin

Free Software Engineer

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です