Reputation: 371
iam developing a mobile app using Phonegap
for Android and IOS platform on Command line.
I created a project on my desktop and i added android platform to the project but when i try to add IOS platform using the command-
cordova platform add ios
Iam gettting error shown in the image
I am not able to get what the problem is. Please help !!!
Project name is CorwiV1
.
Upvotes: 1
Views: 578
Reputation: 1084
First You need MAC os and Developer Tools like Xcode for ios for developing and download phonegap's latest version and for create Phonegap Project in ios follow this link Create Phonegap Project in ios . Hope this help you.
Upvotes: 1
Reputation: 3803
First of all: Are you using Phonegap or Cordova?
I would recommend you to read the Cordova Documentation of how to get started with this. After you downloaded Cordova you have to install NodeJS. <- Sorry, wrong way, FIRST install NodeJS and after that you install cordova over the terminal.
If you did this all, you have to create a Project like this:
When you've finished this, you should see 2 folder called "android" and "ios" in your test mainfolder.
Keep in mind that you can not develop/publish iOS apps on a Windows Computer!
Maybe you look into the Getting started with iOS Guide
Upvotes: 0