I have number of static libraries, all of them build as a fat library (arm64, x86_64 are architectures).
I'm implementing dynamic framework that works with these libraries. They are added into the frameworks with
As a requirement from a client comes to have also XCFramework. XCFramework is created successfully but only if EXCLUDED_ARCHS flag is set to YES in Simulator build script. If NO this is the error I'm getting:
Also I was thinking to create XCFramework with static libraries and include it in my library. How about this option?
Any advice will be helpful 👍
P.S My framework supports iOS 11, does this mean that I need to have version for armv7 in the static library?
I'm implementing dynamic framework that works with these libraries. They are added into the frameworks with
As a requirement from a client comes to have also XCFramework. XCFramework is created successfully but only if EXCLUDED_ARCHS flag is set to YES in Simulator build script. If NO this is the error I'm getting:
So is this a good approach or could be done better? I've learned today about --library flag on -create-xcframework but don't know whether they fit in my case.... building for iOS Simulator, but linking in object file built for iOS, for architecture arm64.
Also I was thinking to create XCFramework with static libraries and include it in my library. How about this option?
Any advice will be helpful 👍
P.S My framework supports iOS 11, does this mean that I need to have version for armv7 in the static library?