Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lroolle/second-app
My first iOS APP
https://github.com/lroolle/second-app
Last synced: 16 days ago
JSON representation
My first iOS APP
- Host: GitHub
- URL: https://github.com/lroolle/second-app
- Owner: lroolle
- License: mit
- Created: 2024-09-20T05:08:53.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-20T05:08:55.000Z (5 months ago)
- Last Synced: 2025-01-15T05:59:16.306Z (23 days ago)
- Language: Starlark
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SwiftUI iOS App with Bazel
This is an iOS application written in SwiftUI and built via Bazel. This is a starting place similar to creating a new project in Xcode and choosing SwiftUI as the starting place.
## Getting Started
Install Bazelisk via `brew install bazelisk`. `bazel` & `bazelisk` will now use the `.bazelversion` file to download and run the chosen Bazel version.
### Generate/Open Project
```bash
$ bazel run :xcodeproj
$ open App.xcodeproj
```### Build Application (CLI)
```bash
$ bazel build //app
```### Run All Tests (CLI)
```bash
$ bazel test $(bazel query 'kind(ios_unit_test,//...)')
```## Underlying Tools
- [`rules_apple`](https://github.com/bazelbuild/rules_apple)
- [`rules_swift`](https://github.com/bazelbuild/rules_swift)
- [`rules_xcodeproj`](https://github.com/buildbuddy-io/rules_xcodeproj)## Making It Your Own
`tools/shared.bzl` contains a handful of definitions to define the name of the application, bundle identifier, and similar things. Update these values to change the application's name.