- Created Framework project (SetOfDependencies)
- Added subframework (Intercom.framework) to this framework project (SetOfDependencies)
- Made a build for device
- Created Client app (ClientGame)
- Added this Framework (SetOfDependencies.framework) to the client app
- Embedded and signed
- Build succeeded but got this error:
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 <97C5FB2D-3C3D-3FE5-B90A-2180A2C2CCBC> '/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 <97C5FB2D-3C3D-3FE5-B90A-2180A2C2CCBC> '/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/
The compiled result of the Client app:

The compiled result of the Client app:

What do I have to understand from this error and how to fix it?