Aggiunge app iOS nativa con parità multi-sport e test unitari.
Porting SwiftUI da Android (auth, hub, wizard, broadcast RTMP, overlay, scoring board-aware), reload hub al ritorno da diretta, decodifica score tollerante e documentazione allineata. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
27
scripts/build_ios_release.sh
Executable file
27
scripts/build_ios_release.sh
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
IOS_DIR="$ROOT/native/ios"
|
||||
PROJECT="$IOS_DIR/MatchLiveTv.xcodeproj"
|
||||
SCHEME="MatchLiveTv"
|
||||
CONFIG="${CONFIG:-Release}"
|
||||
API_BASE_URL="${API_BASE_URL:-https://www.matchlivetv.it}"
|
||||
|
||||
cd "$IOS_DIR"
|
||||
|
||||
if [[ ! -d "$PROJECT" ]]; then
|
||||
echo "Generazione progetto Xcode..."
|
||||
python3 "$IOS_DIR/generate_xcodeproj.py"
|
||||
fi
|
||||
|
||||
xcodebuild \
|
||||
-project "$PROJECT" \
|
||||
-scheme "$SCHEME" \
|
||||
-sdk iphoneos \
|
||||
-configuration "$CONFIG" \
|
||||
API_BASE_URL="$API_BASE_URL" \
|
||||
CODE_SIGNING_ALLOWED=NO \
|
||||
build
|
||||
|
||||
echo "Build iOS completata."
|
||||
Reference in New Issue
Block a user