Creating a multiplatform binary framework bundle | Apple Developer Documentation
Combine variants of a binary framework or library into an XCFramework bundle that supports multiple platforms.