nomade$ phonegap build ios
[phonegap] detecting iOS SDK environment…
[phonegap] using the local environment
[phonegap] compiling iOS…
[error] An error occurred while building the ios project.xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools instance
PROVIAMO a risolvere anche questa:
You can download the Xcode command-line tools in either of two ways:
To install the necessary Xcode tools using Xcode on the Mac:
- Start Xcode on the Mac.
- Choose Preferences from the Xcode menu.
- In the General panel, click Downloads.
- On the Downloads window, choose the Components tab.
- Click the Install button next to Command Line Tools.
- You are asked for your Apple Developer login during the install process.
To install the necessary Xcode tools from the Web:
You can download the Xcode command line tools directly from the developer portal as a .dmg
file.
- On the Mac, go to https://developer.apple.com/downloads/index.action
- You are asked for your Apple Developer login during the install process.
- On the “Downloads for Apple Developers” list, select the Command Line Tools entry that you want.