Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keith/xcframework-to-fat
Create a fat framework from an xcframework bundle
https://github.com/keith/xcframework-to-fat
xcframework xcode
Last synced: 9 days ago
JSON representation
Create a fat framework from an xcframework bundle
- Host: GitHub
- URL: https://github.com/keith/xcframework-to-fat
- Owner: keith
- License: mit
- Created: 2021-04-06T00:02:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-04-06T00:18:41.000Z (over 3 years ago)
- Last Synced: 2024-10-12T06:08:07.336Z (25 days ago)
- Topics: xcframework, xcode
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 16
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This is a CLI to create a old style fat framework from a `xcframework`
bundle if you don't need support for Apple Silicon.# Usage:
This command will create `Foo.framework` bundle with a `x86_64` iOS
Simulator slice and an `arm64` iOS device slice.```sh
./xcframework-to-fat path/to/Foo.xcframework path/to/output x86_64-apple-ios-simulator arm64-apple-ios
```See `./xcframework-to-fat --help` for more info.
# Installation
```sh
brew install keith/formulae/xcframework-to-fat
```## Notes
- You cannot use this in the case you actually need multiple
architectures that support different platforms, in that case you must
use xcframeworks. This only exists for the case where you don't need
that, and maybe your tooling doesn't support xcframeworks yet
- Currently this tool isn't smart about resources that differ for device
or simulator, when possible it copies the resources from the framework
targeting device builds without diffing them
- Since binaries are changed through this transformations, any
code signatures they previously had are removed