title: Custom Swift framework not exposing classes
body: <p>I made a custom Swift framework to reuse the same code across different projects. However, when I import the framework in other projects, the classes are not available for use.</p>
  
  <p><strong>Things I already did</strong></p>
  
  <ol>
  <li><p>To create the framework, I picked a Cocoa Touch Framework project. 
  The structure of the project:
  <a href="https://i.stack.imgur.com/mHY2U.png" rel="nofollow noreferrer">framework project structure</a></p></li>
  <li><p>I marked the classes <code>public class AVSManager {}</code> and the <code>init()</code> functions as public.</p></li>
  <li><p>Copied the .framework file to the root of the other projects </p></li>
  <li><p>In the projects, I added the framework as embedded binary</p></li>
  <li><p>Imported the framework in the <code>ViewController.swift</code> class of a project: <code>import AVSCMDI</code></p></li>
  </ol>
  
  <p>When I then try to call <code>AVSManager()</code> it produces the following error: <code>AVSManager is unavailable: cannot find Swift declaration for this class</code></p>
  
  <p>Does anybody have an idea what i'm missing here?</p>
  
  <p>Thanks in advance!</p>