Carthage, çerçeveler oluşturmak için xcodebuild
komut satırı aracını kullanır. Komut satırı sistemi tarafından kullanılan Xcode sürümü aracı O Geliştiriciler için SDK dizinine işaret etmek gerekiyor xcode-select
Usage: xcode-select [options]
Print or change the path to the active developer directory. This directory
controls which tools are used for the Xcode command line tools (for example,
xcodebuild) as well as the BSD development commands (such as cc and make).
Options:
-h, --help print this help message and exit
-p, --print-path print the path of the active developer directory
-s <path>, --switch <path> set the path for the active developer directory
--install open a dialog for installation of the command line developer tools
-v, --version print the xcode-select version
-r, --reset reset to the default command line tools path
tarafından seçilen değeri tarafından belirlenir, bu nedenle şu anda işaret nerede kontrol etmek --print-path
kullanabilirsiniz.
xcode-select --print-path
/Applications/Xcode.app/Contents/Developer
O zaman sadece
sudo xcode-select --switch <path-to-beta-xcode>/Contents/Developer
Ayrıca bu Xcode> Tercihler> Konumları ardından "Komut Satırı kullanarak değiştirebilir Onların repo o sayının iplik takip etmek isteyebilirsiniz Araçlar" –