Salah
Salah

Reputation: 511

Is it possible to export an XCFramework which itself embeds an other XCFramework?

The last WWDC introduced XCFramework which is an easy way to distribute an universal framework. I've been using it and it works great.

Now, let's say I have an app "A", which embeds a framework "B" (as .xcframework) which itself embeds a framework "C":

App A -> Framework B -> Framework C

When I do that, A can't load B, because A can't find C ("No such module 'C'").

Is there a right way to do that or any workaround ?

Upvotes: 4

Views: 432

Answers (1)

Jeet Kapadia
Jeet Kapadia

Reputation: 31

Apple does not support the idea of cascaded frameworks. So if you add B as xcframework in your app you also need to have C as well in your App.

Upvotes: 1

Related Questions