I did not have the same luck!
When I run cordova platform add ios and after cordova build ios, even the commands success, I don’t see the file cordova.js on www or on root directory of my project.
duly-imac:aaclient eldontc$ ls
LICENSE merges platforms www
README.md node_modules plugins
duly-imac:aaclient eldontc$ sudo cordova platform add ios
Password:
Platform ios already added
duly-imac:aaclient eldontc$ sudo cordova build ios
Generating config.xml from defaults for platform "ios"
Preparing ios project
Compiling app on platform "ios" via command "/dados-usr/trabalho/aaclient/aaclient/platforms/ios/cordova/build"
Platform "ios" compiled successfully.
duly-imac:aaclient eldontc$ ls
LICENSE merges platforms www
README.md node_modules plugins
duly-imac:aaclient eldontc$ cd www
duly-imac:www eldontc$ ls
config.xml img js res
css index.html lib templates
duly-imac:www eldontc$ cd js
duly-imac:js eldontc$ ls
app.js controllers.js services.js
First as a qualifier, I’m just a newbie on this stuff, but what I found was that it will not be put in your www folder. It will be deep within the platform folder paths:
I might add, if you can run the cordova stater app, both on emulator and device, you don’t really need to give a look at the Cordova.js
Cordova did a really good job in the latest versions, separating the ‘www work directory’ and the build folders, this is why you never see anything platform-related in the www work directory.