blakgeek / cordova-plugin-cocoapods-support

A Cordova/PhoneGap plugin to add support for CocoaPods dependencies.
MIT License
72 stars 72 forks source link

Preferences pods_ios_min_version not recognized #7

Closed Stending closed 8 years ago

Stending commented 8 years ago

Hi, I need to fix the ios min version to 9.0 for my cordova plugin, but when I simply add <preference name="pods_ios_min_version" value="9.0"/>, in my plugin.xml, I just get an error during the plugin's installation :

Error: Variable(s) missing: PODS_IOS_MIN_VERSION

It looks like cordova doesn't accept a preference he doesn't know...

blakgeek commented 8 years ago

That preference isn't currently supported at the plugin level. It can only be set in the project's config.xml.

blakgeek commented 8 years ago

I need to fix the documentation.

blakgeek commented 8 years ago

@Stending This is now supported in plugin.xml with the latest release (>=1.2.9).