Support for XCFrameworks #466
kylerjensen
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Note: I am willing to do some PR work to make this happen, but I want to gather some community feedback before I get started.
Describe the feature
Add support for distributing pre-built binaries for iOS using xcframeworks.
Motivation
I'd like to see more 3rd-party libraries start distributing their RN packages using pre-built xcframework binaries for iOS. The idea here is that the more 3rd-party libraries with xcframeworks we use, the more we should expect to see a reduction in the amount of time it takes to compile a RN project and a reduction in the number of native build errors. Using XCFramewoks as a packaging mechanism also gives developers the ability to distribute libraries without exposing native source code.
Including out-of-the-box support for XCFramewoks in @callstack/react-native-builder-bob is important for a number of reasons:
npx create-react-native-library
, I believe xcframeworks would begin to gain popularity in the RN community.aar
target has given developers much of the flexibility and advantage that XCFrameworks would provide. Implementing anxcframework
target would bring the iOS side of things up to a similar level of flexibility, privacy, and performance.Beta Was this translation helpful? Give feedback.
All reactions