spotify / XCRemoteCache

Other
825 stars 50 forks source link

Support universal binary framework #185

Closed polac24 closed 1 year ago

polac24 commented 1 year ago

This PR adds support for static frameworks with multiple architectures. If a static framework contains multiple architectures, input arguments to libtool do not have path extensions (contrary to static libraries, where .a is always used). XCRemoteCache to recognize input files by expecting '.a` extension. To support a case for static frameworks, this PR adds the same behavior where a file with no extension is passed.

In this PR, an E2E test to cover a scenario described in #184 is added:

Refactoring&Fix summary:

Fixes #184