You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 2, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 2, 2018. It is now read-only.
Cordova-custom-config plugin fails on ionic:package build (ionic.io) #26
Our build server has been working for a while and pushing to ionic.io.
Suddenly it stopped working after adding this plugin: cordova-custom-config
We currently removed this plugin and now it's working again.
The errors we get from ionic.io:
Android: Error opening android-debug.apk
iOS: error: Specified application doesn't exist or isn't a bundle directory : '/Users/package/workspace/apps-f2b1ce46-628/cordova/platforms/ios/build/device/MyApp.app'
Locally this build works, we get it running on a device, so our guess is that
the problem isn't something we can solve.
Any ideas are welcome!
Some relevant code on how we use this plugin:
Also this plugin/hook should probably not be required any more as Cordova supports setting config file values in config.xml itself now: https://cordova.apache.org/docs/en/dev/plugin_ref/spec.html#edit-config (Docs say plugin.xml right now, but it also works in config.xml) Much simpler and cleaner.
And edit-config needs target as XPath, but there is no way in XPath I can select CFBundleDevelopmentRegion and change sibling element :/
The only option for .plist is to replace whole with edit-config mode="overwrite", but I don't know if it is good idea, if it does not break something else..
Activity
luckylooke commentedon Apr 25, 2017
This is not going to work, because ionic cloud doesnt support hooks, which cordova-custom-config is depend on. dpa99c/cordova-custom-config#112 (comment)
janpio commentedon May 17, 2017
Also this plugin/hook should probably not be required any more as Cordova supports setting config file values in
config.xmlitself now: https://cordova.apache.org/docs/en/dev/plugin_ref/spec.html#edit-config (Docs sayplugin.xmlright now, but it also works inconfig.xml) Much simpler and cleaner.luckylooke commentedon May 19, 2017
@piotrowski nice! But unfortunatelly I need to change iOS platform xxx-Info.plist where values are structured like this:
And edit-config needs target as XPath, but there is no way in XPath I can select CFBundleDevelopmentRegion and change sibling element :/
The only option for .plist is to replace whole with edit-config mode="overwrite", but I don't know if it is good idea, if it does not break something else..
But for AndroidManifest it is very good option! 👍