有一天兆解,我下了AudioKit準備體驗他的一些比較酷的東西办铡。結(jié)果出現(xiàn)了一個錯誤烫沙。
In Terminal?
$ cd framework_dirs?
$ ./build_frameworks.sh
Building frameworks for platforms: iOS macOS tvOS
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
我猜可能是我剛剛重裝了筆記本搬素,xcodebuild找不到Xcode绷耍,所以我們要重定向一下Xcode的文檔的位置祈匙。
$ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/
輸入密碼后就搞定了忽刽。