I get the folowing error when running pod spec lint
-> iOS-Slide-Menu (1.4.3)
- ERROR | [iOS] [xcodebuild] xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Analyzed 1 podspec.
[!] The spec did not pass validation.
The whole point is that 'xcodebuild' requires Xcode, i.e., a full install of Xcode, nor CommandLineTools.
The main goal of Xcode Build System is to orchestrate execution of various tasks that will eventually produce an executable program. Xcode runs a number of tools and passes dozens of arguments between them, handles their order of execution, parallelism and much much more.
In Finder, select the Go pull-down menu, and select Applications. Or just use the short-cut key Command-Shift-A while Finder is active. This should open a new Finder window, showing all the Applications installed on your machine. Look for the XCode icon in the Applications folder.
Download the latest version of Xcode from the Apple developer website or get it using the Mac App Store. Once you have Xcode installed, open a terminal, run xcode-select --install , and click the Install button to install the required command line developer tools.
In Xcode, go to preferences, then locations and make sure a "Command Line Tools" is set
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With