title: dyld Library not loaded. Reason: tried (no such file)
body: <ol>
  <li>Created Framework project (SetOfDependencies)</li>
  <li>Added subframework (Intercom.framework) to this framework project  (SetOfDependencies)</li>
  <li>Made a build for device</li>
  <li>Created Client app (ClientGame)</li>
  <li>Added this Framework (SetOfDependencies.framework) to the client app</li>
  <li>Embedded and signed</li>
  <li>Build succeeded but got this error:</li>
  </ol>
  <pre><code>dyld[2748]: Library not loaded: '@rpath/Intercom.framework/Intercom'
  
    Referenced from: '/private/var/containers/Bundle/Application/4A1810D3-FCFB-4136-83AA-D2A6EE14F3D9/ClientGame.app/Frameworks/SetOfDepenedencies.framework/SetOfDepenedencies'
  
    Reason: tried: '/usr/lib/swift/Intercom.framework/Intercom' (no such file), '/private/var/containers/Bundle/Application/4A1810D3-FCFB-4136-83AA-D2A6EE14F3D9/ClientGame.app/Frameworks/Intercom.framework/Intercom' (no such file), '/private/var/containers/Bundle/Application/4A1810D3-FCFB-4136-83AA-D2A6EE14F3D9/ClientGame.app/Frameworks/SetOfDepenedencies.framework/Frameworks/Intercom.framework/Intercom' (code signature in &lt;97C5FB2D-3C3D-3FE5-B90A-2180A2C2CCBC&gt; '/private/var/containers/Bundle/Application/4A1810D3-FCFB-4136-83AA-D2A6EE14F3D9/ClientGame.app/Frameworks/SetOfDepenedencies.framework/Frameworks/Intercom.framework/Intercom' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/private/var/containers/Bundle/Application/4A1810D3-FCFB-4136-83AA-D2A6EE14F3D9/ClientGame.app/Frameworks/Intercom.framework/Intercom' (no such file), '/private/var/containers/Bundle/Application/4A1810D3-FCFB-4136-83AA-D2A6EE14F3D9/ClientGame.app/Frameworks/Intercom.framework/Intercom' (no such file), '/System/Library/Frameworks/Intercom.framework/Intercom' (no such file)
  
  Library not loaded: '@rpath/Intercom.framework/Intercom'
  
    Referenced from: '/private/var/containers/Bundle/Application/4A1810D3-FCFB-4136-83AA-D2A6EE14F3D9/ClientGame.app/Frameworks/SetOfDepenedencies.framework/SetOfDepenedencies'
  
    Reason: tried: '/usr/lib/swift/Intercom.framework/Intercom' (no such file), '/private/var/containers/Bundle/Application/4A1810D3-FCFB-4136-83AA-D2A6EE14F3D9/ClientGame.app/Frameworks/Intercom.framework/Intercom' (no such file), '/private/var/containers/Bundle/Application/4A1810D3-FCFB-4136-83AA-D2A6EE14F3D9/ClientGame.app/Frameworks/SetOfDepenedencies.framework/Frameworks/Intercom.framework/Intercom' (code signature in &lt;97C5FB2D-3C3D-3FE5-B90A-2180A2C2CCBC&gt; '/private/var/containers/Bundle/Application/4A1810D3-FCFB-4136-83AA-D2A6EE14F3D9/ClientGame.app/Frameworks/SetOfDepenedencies.framework/Frameworks/Intercom.framework/Intercom' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/private/var/containers/Bundle/
  </code></pre>
  <p>The compiled result of the Client app:
  <a href="https://i.stack.imgur.com/U9P8b.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/U9P8b.png" alt="The compiled result of the Client app" /></a></p>
  <p>The compiled result of the Client app:
  <a href="https://i.stack.imgur.com/X3oxT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/X3oxT.png" alt="Framework Search Paths in Build Settings of Client app" /></a></p>
  <p><strong>What do I have to understand from this error and how to fix it?</strong></p>