mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
The introduction of Apple M1 processor, which is based on the arm64 architecture, makes it impossible to use fat static libraries for iOS and tvOS since building libraries for the simulators targeting the arm64 architecture conflicts with the iOS and tvOS native arm64 libraries. It's not possible to have two arm64 libraries targeting different platforms in the same fat library. Apple resolves this problem with XCFrameworks. Each XCFramework contain an Info.plist specifying which platforms and architectures it targets. The new iOS and tvOS library package, scummvm-ios7-libs-v3, utilize the XCFramework format and includes pre-compiled libraries for both iOS and tvOS with corresponding simulator. Add the option to use XCFramework in create_project by passing the switch '--use-xcframework' Implement support to use XCFrameworks for iOS, tvOS and macOS. If not passing '--use-xcframework' to create_project, legacy behaviour is applied. This commit also add support for mikmod for tvOS.