PhoneGap: why there is no platform.js

There is no platform.js in your PhoneGap project anywhere because it’s autogenerated. However, if you are getting errors that platform.js never gets generated, perhaps you’re not running the right build command. There is a difference! cordova build ios is not correct with PhoneGap. Rather use:

# *Not* cordova!
phonegap build ios