apla / me.apla.cordova.app-preferences

App preferences plugin for cordova
Apache License 2.0
201 stars 209 forks source link

Settings.bundle for iOS is put in the wrong folder #60

Closed bitflower closed 8 years ago

bitflower commented 8 years ago

I believe Settings.bundle is supposed to live inside platform/ios/MYPROJECT/Resources/ not platform/ios/MYPROJECT/

After adding the plugin I can't build because of this, moving the file to /Resources resolves the problem: \ BUILD FAILED ** The following build commands failed: CpResource MYPROJECT/Resources/Settings.bundle build/emulator/MYPROJECT.app/Settings.bundle (1 failure)

bildschirmfoto 2015-11-11 um 06 19 06

Bug of npm xcode?

shredmer commented 8 years ago

I can confirm this as well. After generating the bundle, it is required to be moved to the Resources folder. This is mentioned in the documentation (somewhat unclear) but it should be automated. Also, I have been unable to get android to work, is there is a similar requirement I am not aware of?