This is a follow up PR to #103 to include this support for ver > 1.x
Description
This PR modifies the following about the framework so that it can be built as an XCFramework:
Set the Build for Distribution build setting for the framework to YES. This will create the swiftInterface files that support ABI compatibility.
Change name of Mamba class to FrameworkInfo. Types defined in a module cannot have the same name as the module itself when building swift interface files (see https://bugs.swift.org/browse/SR-14195).
Change the build system setting from legacy to standard (legacy build settings don't support library evolution).
Other changes
Resolve warnings in the Tests target regarding handling unknown enum cases of unfrozen enums.
Remove, from the project settings, references to frameworks that we no longer link against/use.
Pre-submission Checklist
[x] I ran the unit tests locally before checking in.
[x] I made sure there were no compiler warnings before checking in.
[ ] ~I have written useful documentation for all public code.~ n/a
[ ] ~I have written unit tests for this new feature.~ n/a
Addresses #103
This is a follow up PR to #103 to include this support for ver > 1.x
Description
This PR modifies the following about the framework so that it can be built as an XCFramework:
Build for Distribution
build setting for the framework toYES
. This will create theswiftInterface
files that support ABI compatibility.Mamba
class toFrameworkInfo
. Types defined in a module cannot have the same name as the module itself when building swift interface files (see https://bugs.swift.org/browse/SR-14195).Other changes
Pre-submission Checklist