-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
- Xcode (full app — not just Command Line Tools)
xcodegen- Optional: Supabase CLI + Docker for local backend
- Connected iPhone for device deploys (
make deploy)
This machine's xcode-select often points at CommandLineTools. Always prefix build tools:
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer# 1. Generate the Xcode project (after editing project.yml or add/remove files)
xcodegen
# 2. Open in Xcode → ⌘R on an iPhone simulator (iOS 26)
open Artistant.xcodeprojFor a live backend, create gitignored local config:
Configs/Debug-Dev.local.xcconfig # artistant-dev URL + publishable key
Configs/Release-Prod.local.xcconfig # artistant-prod (Release / TestFlight)
Without .local.xcconfig, Debug falls back to http://127.0.0.1:54321 (local Supabase CLI).
Run after any source change. This is the per-commit bar — not Release archive, not the full UI suite.
xcodegen
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer \
xcodebuild -project Artistant.xcodeproj -scheme Artistant \
-sdk iphonesimulator -destination 'generic/platform=iOS Simulator' \
-configuration Debug CODE_SIGNING_ALLOWED=NO build 2>&1 \
| grep -E '(error:|BUILD )' | head -10~93 XCUITests. Run before merging a branch to main and before TestFlight — not required on every commit.
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer \
xcodebuild test -project Artistant.xcodeproj -scheme Artistant \
-destination 'platform=iOS Simulator,name=iPhone 17,OS=latest' \
-only-testing:ArtistantUITests CODE_SIGNING_ALLOWED=NOOne class: -only-testing:ArtistantUITests/ChatSmokeTests
make deploy # auto-pick connected iPhone
make deploy DEVICE="Yash" # target by name substringPhone must be unlocked, trusted, Developer Mode on. Signing team is 3VN4X827YF in project.yml — never set only in the Xcode UI (next xcodegen reverts it). If an older Artistant signed by a different team is on the phone, delete it first.
./scripts/snap.sh # → /tmp/artistant.png
./scripts/snap.sh "iPhone 17 Pro" /tmp/x.pngUse this before claiming a layout fix. Reset Welcome on cold launch:
xcrun simctl uninstall booted in.artistant.app
./scripts/snap.sh| Package | Use |
|---|---|
| supabase-swift | Auth, PostgREST, Realtime, Storage |
| sentry-cocoa | Crash + performance (keys operator-gated) |
| posthog-ios | Analytics (keys operator-gated) |
See also: Auth & Config · Testing
Artistant iOS · wiki generated from repo docs · see CLAUDE.md for the live session bootstrap