Shazron Abdullah commented on CB-11893:

The problem with the "use_frameworks!" flag is once it is on, *all* libraries 
have to be dynamic frameworks. CocoaPods won't add this mixed mode feature: 

This is obviously a problem if a CocoaPod is not something you control.

The workaround is described here:
1. https://github.com/CocoaPods/CocoaPods/issues/3701
2. https://github.com/Adobe-Marketing-Cloud/mobile-services/issues/89

In essence, you create a dummy source file in a podspec that gets turned into a 
dynamic framework, and it has a dependency to the static library as 

The other workaround is here: 

> 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: iOS
>            Reporter: jcesarmobile
>             Fix For: cordova-ios@4.4.0
> 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

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

Reply via email to