From 1680bd2556d9002d95909c9403788537574797f4 Mon Sep 17 00:00:00 2001 From: mso7nueh Date: Wed, 27 Aug 2025 12:04:20 +0300 Subject: [PATCH] fix: testflight --- .gitea/workflows/test-flight-cd.yaml | 2 ++ ios/Runner.xcodeproj/project.pbxproj | 8 -------- ios/fastlane/Fastfile | 4 ++++ 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/test-flight-cd.yaml b/.gitea/workflows/test-flight-cd.yaml index ac54d483..4353f3be 100644 --- a/.gitea/workflows/test-flight-cd.yaml +++ b/.gitea/workflows/test-flight-cd.yaml @@ -59,6 +59,8 @@ jobs: flutter pub get flutter pub upgrade flutter pub run build_runner build --delete-conflicting-outputs + # Configure Flutter for release mode + flutter build ios --config-only --release cd ios pod update fastlane beta diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 080fb053..7d740632 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -213,14 +213,10 @@ inputFileListPaths = ( "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); - inputPaths = ( - ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); - outputPaths = ( - ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; @@ -287,14 +283,10 @@ inputFileListPaths = ( "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", ); - inputPaths = ( - ); name = "[CP] Copy Pods Resources"; outputFileListPaths = ( "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", ); - outputPaths = ( - ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index 9d9b239d..3a74adf3 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -44,6 +44,10 @@ platform :ios do UI.message "Using auth_key_path: #{auth_key_path}" + # Configure Flutter for release mode + UI.message "Configuring Flutter for release mode..." + sh("cd .. && flutter build ios --config-only --release") + match(type: "appstore", readonly: true) increment_build_number(xcodeproj: "Runner.xcodeproj")