Error at Configure Platforms


I am new to ionic and start configure ionic on my linux machine, While configuring the platform by using the following command:
$ ionic platform ios

It shows the following error after downloading the lib:

/home/aasp/.cordova/lib/ios/cordova/3.5.0/bin/create: 33: /home/aasp/.cordova/lib/ios/cordova/3.5.0/bin/create: Syntax error: “(” unexpected
Error: /home/aasp/.cordova/lib/ios/cordova/3.5.0/bin/create: Command failed with exit code 2
    at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:756:16)
    at Process.ChildProcess._handle.onexit (child_process.js:823:5)

Please tell me how could i solve the above error,

Satinderpal Singh


You cannot make an iOS project on a linux or windows machine. Only Mac are able to make ios projects


Thanks, mhartington, for your help, please tell me how could i develop in ionic by using linux (ubuntu), is this approach is right or am i doing something wrong.

Satinderpal Singh


You can still use that same approach for android, you just can’t make an ios app.