Build script
The app is built usingscripts/build-ios.sh, which handles configuration, SDK selection, and API URL injection.
API sources
URL resolution order
The API base URL is resolved in this priority order:1
Build-time override
If an explicit API URL is passed to the build script, it takes priority.
2
SANDBOX_API_URL environment variable
If set, this env var overrides the default. Useful for pointing at local or staging servers.
3
Default
Falls back to the production URL (
api.sightscreen.app).Info.plist configuration
Key entries in the app’sInfo.plist:
Bundle identifiers
The main app bundle ID is registered with APNs for push notifications and Live Activity updates.
Widget target
The widget targetSightscreenWidget is a separate build target that shares models with the main app.
Fonts
The app uses two custom font families:
Both are bundled in the app and registered in
Info.plist.
Theme system
Visual theming is managed through three files:Example: TeamBranding lookup
Example: TeamBranding lookup
Team branding colors are one of the few things defined on the client side, since they are purely visual and do not depend on match state or backend logic.