Hi Meena,

Consuming code that is dynamically linked to your code means that your integrators must also include this code.

Are you getting this error when generating the XCFramework or when consuming it?

I assume its the second one as that is more likely.

If you don't want your integrators to import additional dependencies such as Alamofire when consuming your XCFramework then I suggested you consume Alamofire statically.

This means that Alamofire code will be included in the same package as your code. This suggestion is only for Swift open source code.

I hope this was of help!

Senior iOS Engineer @ Onfido. Writing weekly blogs on iOS and programming. Follow me to stay tuned!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store