- Created Framework project
- Added subframework to this framework project
- Made a build
- Created Client app
- Added this created 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/
What do I have to understand from this error and how to fix it? (the path where the framework lies is correct)