App/README.org
31 lines · 1079 bytes
1#+title: Moonrise app
2
3The Xcode project is generated from =project.yml= and not committed.
4
5#+begin_src sh
6brew install xcodegen
7cd App && xcodegen generate
8open Moonrise.xcodeproj
9#+end_src
10
11Simulator: an iOS 26+ runtime is required. Push registration needs a
12signed build (team =ZCNAX3VL9D=); the APNs device token is logged under
13subsystem =sh.krz.moonrise=.
14
15Backend: both configurations use https://moonrise-server.audit-labs.workers.dev
16(=MOONRISE_API_URL= in =project.yml=). For a local Worker, set it to
17=http://localhost:8787= and regenerate.
18
19* Release
20
21#+begin_src sh
22scripts/release-ios.sh
23#+end_src
24
25Run from a clean =main=. It regenerates the project, archives the iPhone
26app with its widgets and the Watch app, and uploads it to App Store
27Connect, signed through the Apple ID in Xcode. The version is
28=MARKETING_VERSION= in =project.yml=; the build number is
29=git rev-list --count HEAD=, so each build maps to a commit.
30=MOONRISE_PUBLISH=0= exports the =.ipa= to =.build/ios-release= without
31uploading. The visionOS app is a separate product and is not uploaded.