Closed WeZZard closed 2 years ago
This is the first I've heard of xcframework - but if it's a new requirement for Xcode, then we'll have to support it. I haven't done any investigation on what is required, though, so I can't comment on how long it will take.
I tried manually using command like
arch -x86_64 xcrun xcodebuild -create-xcframework \
-library ./iphone/libFFI/libFFI.a -headers ./iphone/libFFI/Headers \
-library ./simulator/libFFI/libFFI.a -headers ./simulator/libFFI/Headers \
-output libFFI.xcframework
to generate xcframework and the output works correctly.
I hope this may help you to add an official support to this repo.
I make it work for iOS only, you can check it here: https://github.com/quangpq/Python-Apple-support/commit/b40061662382f75c580e4c4feb35d3d37beb0590
Current build product cannot be used in Xcode 12.5 because it requires xcframework to enclose binaries with different targets (device and simulator). Is there any plan for supporting xcframework?