xcframework for iOS

I’ve been tinkering with creating an xcframework build target for iOS. The point of such a framework is to allow a single dynamically-linked lib for a client app that works on all combinations of device/simulator vs. Intel /Apple Silicon. (A conventional framework cannot do this, neither can statically linked libraries.) Without this, one has to swap around frameworks or static libs when switching between device and simulator, especially on an Apple Silicon Mac.

I have this working to a first approximation on Xcode 11 and later. If there is interest, I can certainly create a bug for this and a corresponding pull request.

1 Like