[ 
https://issues.apache.org/jira/browse/CB-11893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16360235#comment-16360235
 ] 

Shazron Abdullah commented on CB-11893:
---------------------------------------

[~jcesarmobile] you mean the preference, say would be 
"AllowCocoaPodsUseFrameworks", and default to false? I think by adding the 
annotation it would already signal that this value is "true", so I am hesitant 
to add one more config option.

I'm thinking that with enough nagging in the console output, devs will get that 
there is a plugin that requires use_frameworks, so either all of their plugins 
us dynamic iOS frameworks, or they remove that particular plugin.

Here's the possible scenarios:
 # 1 use_frameworks plugin, no other plugins -> OK
 # 1 use_frameworks plugin, other plugins that don't use use_frameworks - print 
a warning for each non-use_frameworks plugin (maybe point to the 'offending' 
plugin)--
 # 1 use_frameworks plugin, other plugins also have use_frameworks -> OK

 

Of course this will all depend on the order of plugins loaded (to detect 
whether a plugin has use_frameworks). For example, if the use_frameworks plugin 
was *not* loaded first, we won't detect this case for subsequent plugins, so 
there needs to be plugin load ordering/preprocessing. Might get messy.

 

> CocoaPods support: Provide a way to add use_frameworks! on the Podfile
> ----------------------------------------------------------------------
>
>                 Key: CB-11893
>                 URL: https://issues.apache.org/jira/browse/CB-11893
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: cordova-ios
>            Reporter: jcesarmobile
>            Priority: Major
>              Labels: backlog
>             Fix For: cordova-ios@5.0.0
>
>         Attachments: Integrating Static Library With Cocoapods 
> Use_frameworks.pdf
>
>
> If the library you want to use on the plugin uses Swift or you want to use 
> dynamic frameworks you have to add use_frameworks! on the Podfile
> I don't think there is a way of adding it right now.
> We should provide a way of adding it 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to