Hi,
I am newbie on Ionic, and I am follow Getting Started Guide on this page: [Ionic Framework - The Cross-Platform App Development Leader][1]
When I run the follow command:
duly-imac:aaclient eldontc$ ionic run ios
The result is:
Running run task…
Running app on platform ios
Generating config.xml from defaults for platform “ios”
Preparing ios project
Running app on platform “ios” via command “/dados-usr/trabalho/aaclient/aaclient/platforms/ios/cordova/run”
Error: An error occurred while running the ios project.Error: ios-deploy was not found. Please download, build and install version 1.0.4 or greater from GitHub - ios-control/ios-deploy: Install and debug iPhone apps from the command line, without using Xcode into your path. Or ‘npm install -g ios-deploy’ using node.js: http://nodejs.org/
at ChildProcess.<anonymous> (/usr/local/lib/node_modules/cordova/src/run.js:66:22) at ChildProcess.EventEmitter.emit (events.js:98:17) at maybeClose (child_process.js:735:16) at Socket.<anonymous> (child_process.js:948:11) at Socket.EventEmitter.emit (events.js:95:17) at Pipe.close (net.js:466:12)
Unable to run app on platform ios. Please see console for more info.
Ok. The I run the command:
duly-imac:aaclient eldontc$ sudo npm install -f ios-deploy
Password:
npm WARN using --force I sure hope you know what you are doing.
npm http GET https://registry.npmjs.org/ios-deploy
npm http 200 https://registry.npmjs.org/ios-deploy
npm http GET https://registry.npmjs.org/ios-deploy/-/ios-deploy-1.0.4.tgz
npm http 200 https://registry.npmjs.org/ios-deploy/-/ios-deploy-1.0.4.tgz
ios-deploy@1.0.4 preinstall /dados-usr/trabalho/aaclient/aaclient/node_modules/ios-deploy
make ios-deploy
rm -rf *.app demo ios-deploy
gcc -o ios-deploy -framework CoreFoundation -framework MobileDevice -F/System/Library/PrivateFrameworks ios-deploy.c
ios-deploy@1.0.4 node_modules/ios-deploy
And I did try do run the command again:
duly-imac:aaclient eldontc$ ionic run ios
Running run task…
Running app on platform ios
Generating config.xml from defaults for platform “ios”
Preparing ios project
Running app on platform “ios” via command “/dados-usr/trabalho/aaclient/aaclient/platforms/ios/cordova/run”
Error: An error occurred while running the ios project.Error: ios-deploy was not found. Please download, build and install version 1.0.4 or greater from GitHub - ios-control/ios-deploy: Install and debug iPhone apps from the command line, without using Xcode into your path. Or ‘npm install -g ios-deploy’ using node.js: http://nodejs.org/
at ChildProcess.<anonymous> (/usr/local/lib/node_modules/cordova/src/run.js:66:22) at ChildProcess.EventEmitter.emit (events.js:98:17) at maybeClose (child_process.js:735:16) at Socket.<anonymous> (child_process.js:948:11) at Socket.EventEmitter.emit (events.js:95:17) at Pipe.close (net.js:466:12)
Unable to run app on platform ios. Please see console for more info.
I appreciate some help.
Cheers