Cordova overwrites bundle identifier after changing it

danielrvt picture danielrvt · Jan 10, 2014 · Viewed 7.9k times · Source

I'm developing an IOS app using cordova, the problem is that I created the project with the wrong bundle identifier.

After I changed it, if I execute: cordova build the bundle identifier gets overwritten to the original, the one I don´t want.

I tried changing the id in .cordova/config.json, however, the problem persist.

Answer

Julian D. picture Julian D. · Mar 16, 2014

You should be able to set your bundle identifier with

<widget id="my.bundle.identifier" version="0.6" ...

in the file www/config.xml.