title: The 'Pods-App' target has transitive dependencies that include static binaries when using GTM in a swift framework
body: <p>I'm trying to rework a part of a swift 3 project to make it a swift <strong>framework</strong> in order to use it as a pod. The thing is that I need to use GoogleTagManager legacy (v3) as a dependency and I get the following error when doing <code>pod spec lint</code> :</p>
  
  <blockquote>
    <p>ERROR | [iOS] unknown: Encountered an unknown error (The 'Pods-App'
    target has transitive dependencies that include static binaries:
    (/private/var/folders/7t/0cd0n1gn46xd7r1cywrgcy2w0000gn/T/CocoaPods/Lint/Pods/GoogleTagManager/Libraries/libTagManager.a))
    during validation.</p>
  </blockquote>
  
  <p>Or, with GTM v5 :</p>
  
  <blockquote>
    <p>ERROR | [iOS] unknown: Encountered an unknown error (The 'Pods-App'
    target has transitive dependencies that include static binaries:
    (/private/var/folders/7t/0cd0n1gn46xd7r1cywrgcy2w0000gn/T/CocoaPods/Lint/Pods/GoogleTagManager/Frameworks/GoogleTagManager.framework))
    during validation.</p>
  </blockquote>
  
  <p>I'm using the latest cocoapods version (1.1.0.rc.2) and, for what I understood, the problem comes from the dependencies of the GTM pod, which at least one is a static library.</p>
  
  <p>I read some threads where people talk about workarounds to install static libraries within a framework, or to wrap static libraries into a framework when creating a pod. The thing is that the static library is a dependancy of the GTM pod, so I have no control over it. At least that's what I understood in <a href="https://github.com/CocoaPods/CocoaPods/issues/5624" rel="noreferrer">here</a>.</p>
  
  <p>Here is my Podfile :</p>
  
  <pre><code># Uncomment this line to define a global platform for your project
  platform :ios, '8.0'
  
  target 'MyProject' do
    # Comment this line if you're not using Swift and don't want to use dynamic frameworks
    # use_frameworks!
  
    # Pods for MyProject
      pod 'GoogleTagManager', '~&gt; 3.15.2'
  end
  </code></pre>
  
  <p>and here is my (shortened for StackOverflow) MyProject.podspec :</p>
  
  <pre><code>Pod::Spec.new do |s|
  
    s.name         = "MyProject"
    s.version      = "0.1.0"
  
    s.platform = :ios, '8.0'
    s.ios.deployment_target = '8.0'
  
    s.source_files  = "MyProject", "MyProject/**/*.{h,m}", "MyProject/**/*.{swift}"
    s.dependency 'GoogleTagManager', '~&gt; 5.0.0'
  
  end
  </code></pre>
  
  <p>I already tried to download the GTM SDK and install it without cocoapods, but I guess I missed a step because I couldn't make it work.</p>
  
  <p>So I'd like some advices on my podspec and podfile files, or an explaination on how to install the SDK without cocoapods. Thanks a lot !</p>