Failure to build a project

I’m trying to ‘get started’ with ionic following this:

However, when I execute “ionic build ios” I get the following error:


The following build commands failed:
CompileC build/ myApp/Plugins/cordova-plugin-statusbar/CDVStatusBar.m normal i386 objective-c
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/adminuser/Documents/Sims/myApp/platforms/ios/cordova/build-debug.xcconfig,-project,myApp.xcodeproj,ARCHS=i386,-target,myApp,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/adminuser/Documents/Sims/myApp/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/adminuser/Documents/Sims/myApp/platforms/ios/build/sharedpch
ERROR building one of the platforms: Error: /Users/adminuser/Documents/Sims/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/adminuser/Documents/Sims/myApp/platforms/ios/cordova/build: Command failed with exit code 2

Any thoughts?

I’m running
Mac OS X Version 10.7.5
Xcode Version 4.6.3

Would love to try and get started with this! Any help appreciated

.Try to install latest xcode (7.x) , yours seems outdated.