'Is it possible to generate .xcframework and .aar files using expo-cli or native cli?

I am planning to build a skeleton in React Native that splits out .xcframework and .aar files which could then be used in the native android and ios projects. I am new to React Native and would love to know if what I am looking for is effective and feasible or not?

I would want to have something like: build --android or build --ios commands that would create a build with these two folders.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source