title: Build-time errors when targeting device, fine in simulator
body: <p>I have recently made two Frameworks (<code>Extensions</code> &amp; <code>SpotifyAPI</code>), which are targeting iOS 10 just like my project. My phone is running iOS 12 beta <code>(16A5345f)</code>. Xcode is running <code>Version 10.0 beta 6 (10L232m)</code>.</p>
  
  <p>Here is the project when I target the simulator or my device:</p>
  
  <p><a href="https://i.stack.imgur.com/w04Mj.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w04Mj.jpg" alt="enter image description here"></a></p>
  
  <p><em>Ignore the warnings, they are expected. The errors are not expected.</em></p>
  
  <p>For a reason I don't know, the Frameworks don't seem to be recognised when my iPhone is targeted. <strong>ALL</strong> these errors are functions, variables etc, which are apparently "unresolved identifiers" or "undeclared types" or "has no members" from my Frameworks.</p>
  
  <p>Why does this <strong>only</strong> work for the simulator, and not my device? Is my Framework not supporting a certain type of architecture?</p>
  
  <p>Here is my hiarachy:</p>
  
  <p><a href="https://i.stack.imgur.com/CsXkT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CsXkT.png" alt="enter image description here"></a></p>
  
  <p>I tried to run it in Xcode 9, but I got this:</p>
  
  <p><a href="https://i.stack.imgur.com/6c7KV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6c7KV.png" alt="enter image description here"></a></p>
  
  <p>So I deleted and reinstalled Xcode 10 but still with no luck.</p>
  
  <p>How can I allow my project to run on my device?</p>
  
  <hr>
  
  <p><strong>If you have any questions, please ask!</strong></p>