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.
Install Bazelisk via brew install bazelisk
. bazel
& bazelisk
will now use the .bazelversion
file to download and run the chosen Bazel version.
$ bazel run :xcodeproj
$ open App.xcodeproj
$ bazel build //app
$ bazel test $(bazel query 'kind(ios_unit_test,//...)')
If the tests fail, run xcrun simctl list devices
to check what devices and OS versions are locally available. iOS version is set in shared.bzl
.
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.