https://github.com/darrarski/tca-frameworks
Experimental script for building binary XCFrameworks of Composable Architecture and its dependencies.
https://github.com/darrarski/tca-frameworks
swift-composable-architecture swift-macros swift-package-manager tca xcframework
Last synced: 8 months ago
JSON representation
Experimental script for building binary XCFrameworks of Composable Architecture and its dependencies.
- Host: GitHub
- URL: https://github.com/darrarski/tca-frameworks
- Owner: darrarski
- License: mit
- Created: 2024-05-09T18:18:05.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-09T22:23:17.000Z (about 2 years ago)
- Last Synced: 2024-12-04T15:17:37.333Z (over 1 year ago)
- Topics: swift-composable-architecture, swift-macros, swift-package-manager, tca, xcframework
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# The Composable Architecture XCFrameworks
Experimental script for building binary XCFrameworks of [Composable Architecture](https://github.com/pointfreeco/swift-composable-architecture) and its dependencies.
## 📖 Documentation
- It's an experiment, not ready to be used in a production environment.
- Run `build.sh` and go make yourself a coffee.
- Tested with Swift 5.10 from Xcode 15.4 RC1.
- [Scipio](https://github.com/giginet/Scipio) is used for generating XCFrameworks into `Frameworks` directory.
- Generated XCFrameworks supports iOS, iOS Simulator, and macOS architecture.
- Swift Macros binaries are copied into `Macros` directory. These can be linked to a project using "Other Swift Flags" `-load-plugin-executable`.
- Script does not cache any build artifacts on its own.
- It takes ~17 minutes to fetch, build, and generate everything on a MacBook Pro with M1 Max processor.
## ⭐️ Examples
- [swift-package-example](Examples/swift-package-example) - integrating into SPM library.
## ☕️ Do you like the project?
I would love to hear if you like my work. I can help you apply any of the solutions used in this repository. Feel free to reach out to me, or if you just want to say "thanks", you can buy me a coffee.
## 📄 License
Copyright © 2024 Dariusz Rybicki Darrarski
License: [MIT](LICENSE)
