Comcast / mamba

Mamba is a Swift iOS, tvOS and macOS framework to parse, validate and write HTTP Live Streaming (HLS) data.
Apache License 2.0
180 stars 40 forks source link

Support building XCFrameworks #103

Closed jonnybach closed 3 years ago

jonnybach commented 3 years ago

Addresses #103

Description

This PR modifies the following about the framework so that it can be built as an XCFramework:

  1. Set the Build for Distribution build setting for the framework to YES. This will create the swiftInterface files that support ABI compatibility.
  2. 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).
  3. Change the build system setting from legacy to standard (legacy build settings don't support library evolution).

Pre-submission Checklist

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.