Cocoapods "use_frameworks!" with Google Analytics and Swift Libraries

I use the directive use_frameworks!to use some dependencies on my project. If I comment on this directive, I get a red message saying

Pods written in Swift can only be integrated as frameworks; this feature is beta. Add 'use_frameworks!' to your Podfile or target to opt into using it.

Today I decided to use Google Analytics for iOS , but when $pod installI start, I get

The 'Pods-MyProject' target has transitive dependencies that include static binaries

Google google, I found out that it was called due to the directive use_frameworks!, and I have to delete it. So, I'm between the wall and the sword, what can I do to work with these libraries?

PS: We need to manage dependencies with help Cocoapods, so including it in a different way is not an option. Also, I don't have a bridge in my project, but I can still work with libraries usingimport MyDependency

+4
source share

All Articles