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
|
# aidigest
|
||||||
codebase.md
|
codebase.md
|
||||||
|
|
||||||
|
# Build logs
|
||||||
|
logs/
|
||||||
|
|
||||||
# Sensitive configuration files
|
# Sensitive configuration files
|
||||||
ios/GoogleService-Info.plist
|
ios/GoogleService-Info.plist
|
||||||
ios/AlerteSecours/GoogleService-Info.plist
|
ios/AlerteSecours/GoogleService-Info.plist
|
||||||
|
@ -96,4 +99,4 @@ android/app/google-services.json
|
||||||
!ios/AlerteSecours/Supporting/Expo.example.plist
|
!ios/AlerteSecours/Supporting/Expo.example.plist
|
||||||
!android/app/google-services.example.json
|
!android/app/google-services.example.json
|
||||||
|
|
||||||
screenshot-*.png
|
screenshot-*.png
|
||||||
|
|
|
@ -86,6 +86,9 @@ mv ios/main.jsbundle.hbc ios/main.jsbundle
|
||||||
|
|
||||||
cd ios
|
cd ios
|
||||||
|
|
||||||
|
# Create logs directory if it doesn't exist
|
||||||
|
mkdir -p ../logs
|
||||||
|
|
||||||
# Create archive using xcodebuild
|
# Create archive using xcodebuild
|
||||||
echo "Creating archive..."
|
echo "Creating archive..."
|
||||||
xcodebuild \
|
xcodebuild \
|
||||||
|
@ -93,6 +96,6 @@ xcodebuild \
|
||||||
-scheme AlerteSecours \
|
-scheme AlerteSecours \
|
||||||
-configuration Release \
|
-configuration Release \
|
||||||
-archivePath AlerteSecours.xcarchive \
|
-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"
|
echo "Archive completed successfully at AlerteSecours.xcarchive"
|
||||||
|
|
Loading…
Add table
Reference in a new issue