- 4 Posts
- 0 Reply Likes
Posted 8 years ago
- 68 Posts
- 7 Reply Likes
Most likely it's the name you're using for your phonegap.js or cordova.js script called from your index.html page.
I had the same problem. Just rename your PhoneGap script to just cordova.js, instead of cordova-1.6.1.js or whatever it's named currently. Otherwise PhoneGap Build gets confused and uses the wrong one for iOS builds, causing those errors.
I had the same problem. Just rename your PhoneGap script to just cordova.js, instead of cordova-1.6.1.js or whatever it's named currently. Otherwise PhoneGap Build gets confused and uses the wrong one for iOS builds, causing those errors.
- 133 Posts
- 23 Reply Likes
The problem is that you include phonegap/cordova.js in your project when you submit it to Phonegap Build.
The phonegap/cordiva.js is platform depended and build includes the right one when it makes your apps. It is placed in the root of your project.
The phonegap/cordiva.js is platform depended and build includes the right one when it makes your apps. It is placed in the root of your project.
- 45 Posts
- 0 Reply Likes
Yes, I can confirm that you need to reference Cordova.js in the root foldet.. have had the exat same problem in my test environment.
I had read that the JS shoule be the same from PG1.5 but I have not had luck so I reverted back to renaming my cordova-1.7.0.js to Cordova.js, that works
Regards
Kim
I had read that the JS shoule be the same from PG1.5 but I have not had luck so I reverted back to renaming my cordova-1.7.0.js to Cordova.js, that works
Regards
Kim
- 4 Posts
- 0 Reply Likes
Thank you all. I will simply reference phonegap/cordova script from the index.html file as follows:
.... src="cordova.js" ..
.... src="cordova.js" ..
- 3500 Posts
- 40 Reply Likes
Due to the thread inactivity, this issue is now closed.
Create a new issue if you have any other problem with PhoneGap Build.
Thanks
Create a new issue if you have any other problem with PhoneGap Build.
Thanks
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 275 Followers




