Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
cordova@7.1.0
-
None
-
None
Description
Please,
consider the following snippet from plugin.xml
<platform name="ios"> <preference name="IOS_VERSION" default="> 0" /> <framework src="Google-Mobile-Ads-SDK" type="podspec" spec="$IOS_VERSION" /> </platform>
If I install such a plugin I get the following podfile
# DO NOT MODIFY -- auto-generated by Apache Cordova platform :ios, '8.0' target 'App' do project 'App.xcodeproj' pod 'Google-Mobile-Ads-SDK', '$IOS_VERSION' end
I think that, unlikely the src attribute of the framework element, it is not possible to use a preference value for the spec attribute.