I am using a mac osx yosemite 10.10.4.
Please see below the issue that I am getting while running the command "ionic build ios".
Kindly request you to help me on this.
myApp rakesh.kb$ ionic build ios
Running command: /Users/rakesh.kb/myApp/hooks/after_prepare/010_add_platform_class.js /Users/rakesh.kb/myApp
add to body class: platform-ios
Running command: /Users/rakesh.kb/myApp/platforms/ios/cordova/build
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
ERROR building one of the platforms: Error: /Users/rakesh.kb/myApp/platforms/ios/cordova/build: Command failed with exit code 2
You may not have the required environment or OS to build this project
Error: /Users/rakesh.kb/myApp/platforms/ios/cordova/build: Command failed with exit code 2
at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:134:23)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
Dear Developers,
I am using a mac osx yosemite 10.10.4. Please see below the issue that I am getting while running the command "ionic build ios".
Kindly request you to help me on this.
myApp rakesh.kb$ ionic build ios Running command: /Users/rakesh.kb/myApp/hooks/after_prepare/010_add_platform_class.js /Users/rakesh.kb/myApp add to body class: platform-ios Running command: /Users/rakesh.kb/myApp/platforms/ios/cordova/build xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
ERROR building one of the platforms: Error: /Users/rakesh.kb/myApp/platforms/ios/cordova/build: Command failed with exit code 2 You may not have the required environment or OS to build this project Error: /Users/rakesh.kb/myApp/platforms/ios/cordova/build: Command failed with exit code 2 at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:134:23) at ChildProcess.emit (events.js:110:17) at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
Regards, Rakesh