From 19a59bdd20f879f11c336f86723ec745e1588599 Mon Sep 17 00:00:00 2001 From: mso7nueh Date: Wed, 23 Apr 2025 11:40:37 +0300 Subject: [PATCH] fix(ci/cd): test-flight --- Build-tf | 36 +----------------------------------- Support/ExportOptions.plist | 21 +++++++++------------ 2 files changed, 10 insertions(+), 47 deletions(-) diff --git a/Build-tf b/Build-tf index c0d08398..583cfa53 100644 --- a/Build-tf +++ b/Build-tf @@ -4,42 +4,8 @@ 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" - flutter clean flutter pub get dart run build_runner build --delete-conflicting-outputs -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 \ - --build-name="$BUILD_NAME" \ - --build-number="$BUILD_NUMBER" \ - --export-options-plist="$EXPORT_OPTIONS_PLIST" \ - --release \ - -v - -BUILD_RESULT=$? -echo "Build exit code: $BUILD_RESULT" -echo "Contents of build directory:" -ls -R build/ios/ - -if [ $BUILD_RESULT -eq 0 ]; then - echo "Build completed successfully!" - echo "IPA file location: ./build/ios/ipa/" -else - echo "Build failed!" - echo "Please ensure:" - echo "1. Valid provisioning profile is configured in Xcode" - echo "2. exportOptions.plist contains correct provisioning profile information" - echo "3. Signing certificates are properly installed" - exit 1 -fi +flutter build ipa --export-options-plist=Support/ExportOptions.plist --release diff --git a/Support/ExportOptions.plist b/Support/ExportOptions.plist index f45db80d..264b71da 100644 --- a/Support/ExportOptions.plist +++ b/Support/ExportOptions.plist @@ -8,22 +8,19 @@ method app-store - provisioningProfiles - - com.eatvioapp.app - Distribution - - signingCertificate - Apple Distribution: ITVIO, OOO (VL68C36HYS) signingStyle - automatic + automatic stripSwiftSymbols uploadSymbols teamID - VL68C36HYS - thinning - <none> + VL68C36HYS + teamName + ITVIO, OOO + bundleIdentifier + com.eatvioapp.app + automaticallyManageSigning + - \ No newline at end of file +