कार्थेज फ्रेमवर्क बनाने के लिए कमांड लाइन टूल xcodebuild
का उपयोग करता है। कमांड लाइन सिस्टम द्वारा प्रयुक्त Xcode के संस्करण उपकरण 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
यह डेवलपर SDK निर्देशिका को इंगित करने की जरूरत है द्वारा चयनित मूल्य से निर्धारित होता है, तो आप जहां यह वर्तमान में ओर इशारा करते हुए है की जाँच करने के --print-path
उपयोग कर सकते हैं।
xcode-select --print-path
/Applications/Xcode.app/Contents/Developer
तो यह सिर्फ sudo xcode-select --switch <path-to-beta-xcode>/Contents/Developer
आप भी इस का उपयोग कर Xcode> Preferences> स्थान, फिर "कमांड लाइन को बदल सकते हैं आप अपने रेपो पर कि इस मुद्दे का धागा पालन करना चाहें उपकरण " –