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

Assuming you already have Xcode installed:

Start Xcode, select “Preferences -> Locations”. Chances are that your Command Line Tools are not set. Select the suggested Xcode-tools location and you are done.

Additional:

You could check with:

xcode-select -p

which tools are set, mine showed:

/Library/Developer/CommandLineTools

After the location in the preferences was set, it showed:

/Applications/Xcode.app/Contents/Developer

(as it should)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)