title: How to use cocoapods in both app and extension
body: <p>I'd like to use some libraries in both main app and its extension. I tried this <code>podfile</code></p>
  
  <pre><code>platform :ios, '10.2'
  use_frameworks!
  target 'myApp' do
         target 'myAppShareExtension' do
                  pod 'SVProgressHUD', :git =&gt; 'https://github.com/SVProgressHUD/SVProgressHUD.git'
                  pod 'Alamofire', '~&gt; 4.0'
                  pod 'FileKit', '~&gt; 4.0.1'
         end
  end
  </code></pre>
  
  <p>But my <code>Targets Support Files</code> is named <code>Pods-myApp-myAppShareExtension</code> while it should be <code>Pods-myAppShareExtension</code> which makes me think the problem comes from the podfile.</p>
  
  <p>Thanks.</p>