I can not compile my iOS application locally, Android is working fine.
I installed both cordova and phonegap using npm install -g [...] . I am running OSX (10.7.5).
Output version from both:
$ cordova -v 5.1.1 $ phonegap -v 0.9.4
I have Xcode installed (v 4.6.2). I also have command line tools installed.
Both cordons and telephone conversations cannot be built, apparently for the same reason. Running phonegap build ios outputs:
$ phonegap build ios phonegap detecting iOS SDK environment... phonegap using the local environment phonegap compiling iOS... error ENOENT, no such file or directory '/Users/mike/apps/***/platforms/ios/__CLI__/config.xml'
Here is the result from the same cordova :
$ cordova build ios cp: copyFileSync: could not write to dest file (code=ENOENT):/Users/mike/apps/***/platforms/ios/__CLI__/config.xml cp: no such file or directory: /Users/mike/apps/***/platforms/ios/platform_www/* Parsing /Users/mike/apps/***/platforms/ios/__CLI__/config.xml failed Error: ENOENT, no such file or directory '/Users/mike/apps/***/platforms/ios/__CLI__/config.xml' at Error (native) at Object.fs.openSync (fs.js:500:18) at Object.fs.readFileSync (fs.js:352:15) at Object.module.exports.parseElementtreeSync (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/util/xml-helpers.js:118:27) at Object.ConfigParser (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/configparser/ConfigParser.js:33:24) at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare.js:115:32 at Array.map (native) at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/prepare.js:70:40 at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30)
It seems to me that in a way that does not happen, there should be some kind of replacement with __CLI__ , but it's hard to say. Below is a screenshot of the structure of the file that it generates:

I can build using the remote build service, but itβs quite difficult, since the application does not load properly, so I need to do quite a bit of debugging to figure it out.
Node is installed in version 0.12.5. NPM is installed in version 2.11.2.
I reinstalled the platform many times and always get this error.