diff --git a/Build-tf b/Build-tf index 23082068..3d9aec00 100644 --- a/Build-tf +++ b/Build-tf @@ -1,4 +1,9 @@ #!/bin/bash +set -e + +export LANG=en_US.UTF-8 +export LC_ALL=en_US.UTF-8 + BUILD_NAME="1.0.0" BUILD_NUMBER="1" EXPORT_OPTIONS_PLIST="Support/ExportOptions.plist" @@ -7,10 +12,12 @@ flutter clean flutter pub get dart run build_runner build --delete-conflicting-outputs -cd ios +cd ios || { echo "Failed to enter ios directory"; exit 1; } + rm -rf Pods Podfile.lock pod install --repo-update pod update || { echo "Pod update failed"; exit 1; } + echo "Building iOS IPA" flutter build ipa \