chore(ios): improve debugging

This commit is contained in:
Jo 2025-08-10 13:20:58 +02:00
parent a461f445c4
commit 958eee1f72
Signed by: devthejo
GPG key ID: 00CCA7A92B1D5351
2 changed files with 8 additions and 2 deletions

5
.gitignore vendored
View file

@ -84,6 +84,9 @@ DerivedData
# aidigest
codebase.md
# Build logs
logs/
# Sensitive configuration files
ios/GoogleService-Info.plist
ios/AlerteSecours/GoogleService-Info.plist
@ -96,4 +99,4 @@ android/app/google-services.json
!ios/AlerteSecours/Supporting/Expo.example.plist
!android/app/google-services.example.json
screenshot-*.png
screenshot-*.png

View file

@ -86,6 +86,9 @@ mv ios/main.jsbundle.hbc ios/main.jsbundle
cd ios
# Create logs directory if it doesn't exist
mkdir -p ../logs
# Create archive using xcodebuild
echo "Creating archive..."
xcodebuild \
@ -93,6 +96,6 @@ xcodebuild \
-scheme AlerteSecours \
-configuration Release \
-archivePath AlerteSecours.xcarchive \
archive
archive 2>&1 | tee "../logs/ios-archive-$(date +%Y%m%d-%H%M%S).log"
echo "Archive completed successfully at AlerteSecours.xcarchive"