-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 1.1.5: setting ios preferences no longer works #14
Comments
As of version 1.1.5 (commit 00391ef), the plugin will escape the values that are inserted into the .pbxproject file, so remove the single quotes:
Although 9.0 will now be inserted as |
Thanks for the clarification about taking the single quotes out. It turns out that I think it is the removal of read-package-json from your dependencies list that is causing my issue. It looks like the cordova plugin add is actually failing without that dependency in place in your module. If I add read-package-json to my own list of dependencies, then the 1.1.5 plugin works ok for me. Interesting to note that my npm install does indeed have a read-package-json inside itself as a dependency, but that does not appear to make it accessible to the plugins (i.e. it is in /usr/local/lib/node_modules/npm/node_modules/read-package-json). |
Commit 95cc8e2 should resolve the read-package-json issue |
I have been successfully using version 1.1.4 of this plugin to set the 2 ios preferences as shown below.
I just tried to update to the 1.1.5 version of the plugin and now neither of my preference settings are taking place (they don't end up in the platforms/ios/*.xcodeproj/project.pbxproject file).
The text was updated successfully, but these errors were encountered: