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
177 stars 36 forks source link

Workaround for static libs for swift/objc projects #89

Closed theangelperalta closed 4 years ago

theangelperalta commented 4 years ago

Description

This PR implements a workaround to allow the generation of static library using cocoapods.

Use case 1:

target 'App' do
  use_modular_headers!
  pod 'mamba', '2.2.0'
end

Use case 2 (without global a use_frameworks!):

target 'App' do
  pod 'mamba', '2.2.0'
end

Change Notes

Pre-submission Checklist

CLAassistant commented 4 years ago

CLA assistant check
All committers have signed the CLA.

theangelperalta commented 4 years ago

Thanks for the update!

This is pretty gross, but looks like it's the way to go.

@dcoufal, no problem! Hopefully, the community will resolve this issue in the near future. Thanks for the quick review.