title: How to make a dynamic framework(Swift) based on two static libraries using Cocoapods
body: <p>I want to make a dynamic framework that incorporates two 3-rd party frameworks with static libraries and later add it as a pod to my project.
  Here are their podspec files</p>
  <ul>
  <li><a href="https://github.com/CocoaPods/Specs/blob/master/Specs/3/a/0/IndoorsSDK-iOS/4.4.0/IndoorsSDK-iOS.podspec.json" rel="noreferrer">IndoorsSDK-iOS.podspec</a> (By the way, this one lacks modulemap in .framework file)</li>
  <li><a href="https://github.com/CocoaPods/Specs/blob/master/Specs/2/3/d/IndoorAtlas/2.4.1/IndoorAtlas.podspec.json" rel="noreferrer">IndoorAtlas.podspec</a></li>
  </ul>
  <p>I tried to add them as <code>s.dependency</code> in my podspec file but got following error
  <code>Pods error - target has transitive dependencies that include static binaries</code></p>
  <p>Tried to include them as <code>s.vendored_frameworks</code> but got following <a href="https://github.com/CocoaPods/CocoaPods/issues/6409" rel="noreferrer">https://github.com/CocoaPods/CocoaPods/issues/6409</a> and can't make workaround with the given solution.</p>
  <p>Could you help with the direction how I can deal with it and later I'll
  post some test project to look at the issue closer. Now I simply have so many different test projects that don't work that I don't even know what to post to Github to show.</p>
  <p>In most of my attempts I ended up not being able to use Import IndoorsSDK/IndoorAtlas in my framework swift files because <strong>&quot;No such module&quot;</strong> error.</p>
  <p>Appreciate any help.</p>