3
我在使用Xcode版本9.0.1(9A1004)的High Sierra上。 當運行tns doctor
我得到以下警告:Nativescript不識別Xcode(高塞拉利昂)
WARNING: Xcode is not installed or is not configured properly.
You will not be able to build your projects for iOS or run them in the iOS Simulator.
To be able to build for iOS and run apps in the native emulator, verify that you have installed Xcode.
如果我運行安裝腳本,而且我得到:
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Xcode is not installed or not configured properly. Download, install, set it up and run this script again.
正如你可能已經猜到了,我已經從App Store安裝Xcode和我還安裝了cocoapods和xcodeproj。這是我得到的唯一警告。
有什麼建議嗎?
非常有幫助,謝謝。 –