chore(ios): improve debugging
This commit is contained in:
parent
a461f445c4
commit
958eee1f72
2 changed files with 8 additions and 2 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue