Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stackotter/swift-bundler
An Xcodeproj-less tool for creating cross-platform Swift apps.
https://github.com/stackotter/swift-bundler
hacktoberfest macos swift swiftpm xcode
Last synced: 5 days ago
JSON representation
An Xcodeproj-less tool for creating cross-platform Swift apps.
- Host: GitHub
- URL: https://github.com/stackotter/swift-bundler
- Owner: stackotter
- License: apache-2.0
- Created: 2021-09-23T02:46:41.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-20T13:31:00.000Z (6 months ago)
- Last Synced: 2024-05-21T12:09:49.234Z (6 months ago)
- Topics: hacktoberfest, macos, swift, swiftpm, xcode
- Language: Swift
- Homepage: https://swiftbundler.dev
- Size: 1.08 MB
- Stars: 277
- Watchers: 6
- Forks: 13
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
An Xcodeproj-less tool for creating cross-platform Swift apps.## Supporting Swift Bundler ❤️
If you find Swift Bundler useful, please consider supporting me by [becoming a sponsor](https://github.com/sponsors/stackotter). I spend most of my spare time working on open-source projects, and each sponsorship helps me focus more time on making high quality tools for the community.
## Documentation 📚
The documentation is hosted on [the Swift Bundler website](https://swiftbundler.dev/documentation/swiftbundler).
## Installation 📦
Install the latest version of Swift Bundler with [mint](https://github.com/yonaskolb/Mint):
```sh
mint install stackotter/swift-bundler
```If you have previously installed Swift Bundler via the installation script you must delete the `/opt/swift-bundler` directory (requires sudo).
For more installation methods, see [the documentation](https://swiftbundler.dev/documentation/swiftbundler/installation).
## Getting started 🚦
After installing Swift Bundler, package templates make it quick to get started. The following sections walk you through creating and running a simple 'Hello, World!' SwiftUI app.
### Creating a SwiftUI app
```sh
# Create a new app from the SwiftUI template.
swift bundler create HelloWorld --template SwiftUI
cd HelloWorld
```### Running the app
```sh
# Build and run the app.
swift bundler run
```### Using Xcode as your IDE
```sh
# Creates the files necessary to get xcode to run the package as an app.
# Only needs to be run once unless you delete the `.swiftpm` directory.
swift bundler generate-xcode-support# Open the package in Xcode
open Package.swift
```### Learning more
To learn more about Swift Bundler refer to the [documentation](https://swiftbundler.dev/documentation/swiftbundler).
## Contributing 🛠
Contributions of all kinds are very welcome! Just make sure to check out [the contributing guidelines](CONTRIBUTING.md) before getting started. Read through [the open issues](https://github.com/stackotter/swift-bundler/issues) for contribution ideas.
## Apps made with Swift Bundler 👨💻
If you have made an app with Swift Bundler, I'd love to hear about it! Just open an issue or submit a PR to add it to the list.
- [Delta Client](https://github.com/stackotter/delta-client): A 'Minecraft: Java Edition' compatible Minecraft client written from scratch in Swift
- [ModularMTL](https://github.com/JezewskiG/ModularMTL): A modular multiplication visualisation made with Swift Bundler, SwiftUI and Metal