I got following error Pods error - target has transitive dependencies that include static binaries. As before, when I wanted to make a dynamic framework that incorporates multiple 3-rd party frameworks with static libraries and later added it as a pod to my project. I was completely frustrated with that as it couldn't make workaround with the given solution from GitHub, StackOverflow, Google etc.
Finally, I've found the solution. So, in case someone, my colleague run into similar issue, I post it here:
My podspec file except other lines contains one library added as dependency, another as vendored_frameworks. And modulemap, that was added to the Framework that lacked it. The latest point, podfile should contain following to hide transitive dependencies error.
pre_install do |installer|
def installer.verify_no_static_framework_transitive_dependencies; end
end
Unfortunately, due to some privacy, I can not show you my published pods on GitHub to use like a third party framework. But I am ready to show these at our further discussion.
However, a good news, maybe you aware of it that now the CocoaPods 1.4.0 comes packed with new features such as app host support for tests, script phases, static framework support and a new Swift version DSL!. Hence it will make our work easier.
We have an app that is connecting to our server to get updates like new texts and pictures. One of its major functions is, it keeps the old GUI as well as a new GUI.