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

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






Xcode -> Preferences -> Locations -> Selected the Command Lin Tools: (选择xcode版本)
posted @ 2020-09-25 12:31  牧之丨  阅读(1162)  评论(0编辑  收藏  举报