phonegap / phonegap-cli

PhoneGap and PhoneGap/Build command-line interface
Apache License 2.0
491 stars 156 forks source link

Mac OS X - BB10 Project Config.xml #127

Closed mamzellejuu closed 10 years ago

mamzellejuu commented 11 years ago

Hi,

Its look like when we build BB10 project on Mac OS X, the config.xml in our project is overwritted by this one: ~/.cordova/lib/blackberry10/cordova/3.0.0/bin/templates/project/www

mwbrooks commented 11 years ago

Thanks @mamzellejuu!

I remember this issue existed in the past, but I didn't realize that it was still around. I'll look into whether cordova-cli or cordova-blackberry is the culprit and create an issue where it's appropriate. I'll link back here with the issue track the progress.

mamzellejuu commented 11 years ago

Thank you, I tested build Android this morning and everything is fine. I think this issue is just for BB10 config.xml

mwbrooks commented 11 years ago

Good to know.

Yea, I would say it's this line of code in cordova-cli that's causing the issue ;)

mwbrooks commented 11 years ago

And a blame shows that this guy (me) wrote the comment above but never actually fixed the issue.

mamzellejuu commented 11 years ago

Can you fix it a.s.a.p :)?

mwbrooks commented 11 years ago

haha, I can.

mamzellejuu commented 11 years ago

thanks :+1:

ghost commented 11 years ago

There may be a similar issue with ios.

phonegap build ios

generates two config.xml files in platforms/ios, one in the platforms/ios/www folder, which reflects any changes you've made in the top-level config.xml, and one in platforms/ios/, which is a default Hello World config.xml. The default config.xml file shows up at the top when you load the generated project in xCode.

I'm not sure, but I think this may be related to a problem I'm having with custom icons and splash screens. The top-level config.xml has the expected <icon gap:platform="ios" height="114" src="res/icon/ios/icon-57-2x.png" width="114" > and so on, as does the platforms/ios/www/config.xml, but the platforms/ios//config.xml does not. Building always produces a binary with default icons and splash screens, even if the images in the top-level www/res folder have been changed and the project has been built with phonegap build ios.

sandric commented 11 years ago

so what, is bug fixed?

lorinbeer commented 10 years ago

not too sure why this was reopened. If this is still an issue, please file a new bug report with steps to replicate.