using 'vendored_frameworks' and 'source_files' for cocoapod using 'use_frameworks!' : <p>I'm building a cocoapod that basically contains a framework (private sources) and a view (open source) that rely on this framework, all made in Objective-C.</p>

<p>In the podspec I have the following lines :</p>

<ul>
<li>spec.vendored_frameworks = 'MyPod/Framework/MyFramework.framework'</li>
<li>spec.source_files = ['MyPod/UI/Views/MyView.{h,m}']</li>
</ul>

<p>When using the <code>use_frameworks!</code> syntax, I can't <code>#import MyFramework</code></p>

<p>I just don't understand what's happening. </p>

<p>Moreover, when I remove the <code>spec.source_files</code> line, I can <code>#import MyFramework</code> and it works perfectly, but of course I cannot use <code>MyView</code>.</p>

<p>What am I doing wrong ?</p>
