Hi,
I had a framework project that involves embedding another dynamic framework into it. This ends up becoming a nested dynamic framework as a result.
So when I embed the said framework onto our app, the app crashed because all the nested frameworks are not code signed, as said on this message
Referenced from: /private/var/containers/Bundle/Application/4D13ABAE-9C38-46B7-8FD8-14C928019FF1/BasicExample.app/Frameworks/BasicFramework.framework/BasicFramework
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/4D13ABAE-9C38-46B7-8FD8-14C928019FF1/BasicExample.app/Frameworks/BasicFramework.framework/Frameworks/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds: required code signature missing for '/private/var/containers/Bundle/Application/4D13ABAE-9C38-46B7-8FD8-14C928019FF1/BasicExample.app/Frameworks/BasicFramework.framework/Frameworks/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds'
even with the added `--deep` flag on the codesign command, it still produce the same result.
Advice?
For full details, as well as the sample project, you can grab those on the link below