title: Convert C & submodule included objective-C project (linphone) as a framework or static library?
body: <p>I want to merge two projects.</p>
  
  <p><strong>First project</strong></p>
  
  <ol>
  <li>Written in objective C and swift 2.3 </li>
  <li>Pod dependencies </li>
  <li>Have different Targets</li>
  <li>Submodules dependencies</li>
  </ol>
  
  <p><strong>Second project</strong></p>
  
  <p><a href="https://github.com/BelledonneCommunications/linphone" rel="nofollow noreferrer">https://github.com/BelledonneCommunications/linphone</a></p>
  
  <ol>
  <li>Written in Objective C </li>
  <li>dependency on linphone SDK written in C </li>
  <li>Submodules dependencies</li>
  </ol>
  
  <p>How can I convert Second project(linphone) as a framework?</p>
  
  <blockquote>
    <p><strong>EDIT 1</strong></p>
    
    <p>I have integrated linphone project(second project) including the C
    written linphone SDK and Rectified all compile time errors. and now i
    am able to run the project. But what I will do for Submodules dependencies?</p>
    
    <p><strong>EDIT 2</strong></p>
    
    <p>As per now, succeed login with our own SIP server account. Right
    now my issue is </p>
  
  <pre><code>LinphoneManager
   - (void)createLinphoneCore
   - theLinphoneCore = linphone_core_new_with_config(&amp;linphonec_vtable, _configDb, (__bridge void *)(self)); 
  </code></pre>
    
    <p><strong>theLinphoneCore is NULL, why?</strong></p>
    
    <p>NOTE: Still i didnt integrate submodules, but i can do audio &amp; video call everything works fine.</p>
  </blockquote>