dashboard
repositories
activity
search
login
APPS
/
PAILot
summary
reflog
commits
tree
compare
forks
blame
|
history
|
raw
|
HEAD
feat: StoreKit 2 IAP — free tier with 2 sessions and 15min message TTL
Matthias Nott
2026-04-01
98e5695f9c77c594a103e9e81128798d41bae46a
[APPS/PAILot.git]
/
tools
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
# PAILot iOS Build Script
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
APP_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
cd "$APP_DIR"
echo "=== Building IPA ==="
flutter build ipa --release --no-pub --export-method development --no-tree-shake-icons
echo ""
echo "=== Fixing archive name ==="
ARCHIVE="build/ios/archive/Runner.xcarchive/Info.plist"
if [ -f "$ARCHIVE" ]; then
plutil -replace Name -string "PAILot" "$ARCHIVE"
plutil -replace SchemeName -string "PAILot" "$ARCHIVE"
echo " Archive name set to 'PAILot'"
fi
echo ""
echo "=== Done ==="
echo "Build complete: build/ios/ipa/pailot.ipa"
echo "Run ./tools/deploy.sh to install on device"