Today we will see how to install cordova and phonegap on mac for ios
for that here i have written some commands which you have to follows for installing cordova and phonegap on mac for ios.
Follow all the steps for installing cordova and phonegap.
- Install node.js on your mac os.
- open terminal command mac
- type this command in terminal
$sudo npm install -g cordova
wait for installing cordova in your mac os.
- Type this command in terminal after complate installing Cordova
$sudo npm install -g phonegap
waiting for installing phonegap.
So friend phonegap and cordova install in your mac os in globally so now you can create project in any drive in your mac os.
Lets start Create the projects
- Create project by written following command in you mac terminal
$cordova create helloWorld com.example.helloWorld "helloWorld"
- Go to your project the following this command.
cd helloWorld
- add a platform in your project which platform for work. following this command.
cordova platform add ios
and after adding platform you build your project prepare / build ios
So friend wait for next level.
No comments:
Post a Comment