xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is method: select Xcode version in Command Line Tools in Location(Click Xcode and then Preferences) Before: After: