Integrating binary inside Framework via SPM

So I will summary an issue one of our clients has asked us on GitHub: https://github.com/pendo-io/pendo-mobile-sdk/issues/233

Project that is a custom framework that uses different SPM packages (one of them is Binary package), we have our main logic inside that framework and we have different targets that use this framework, everything works on the simulator, but running the app on the actual device provokes a crash saying "Binary framework was not found". We have like 20 other SPM packages that work fine, this is the first one we have an issue with.

Please note I understand that SPM will not copy paste the Binary for the magic framework as it does for the apps so I suggested to embed it manually.

So my question is what the best(easy) way to do it.

Please refer to the following issue for more details: https://github.com/pendo-io/pendo-mobile-sdk/issues/233

Integrating binary inside Framework via SPM
 
 
Q