From d99dae0ca9cb0e102907534274aa035a101b3a43 Mon Sep 17 00:00:00 2001 From: efrilm Date: Fri, 29 May 2026 18:16:57 +0700 Subject: [PATCH] update --- .github/workflows/ios.yml | 8 +++++--- ios/Podfile | 4 ++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index d9c5c5e..f550238 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -79,17 +79,19 @@ jobs: # Build Flutter (no codesign — signing happens in xcodebuild archive) flutter build ios --release --no-codesign - # Archive with manual signing + # Archive with manual signing scoped only to Runner target xcodebuild archive \ -workspace ios/Runner.xcworkspace \ -scheme Runner \ -configuration Release \ -archivePath $RUNNER_TEMP/Runner.xcarchive \ + -destination "generic/platform=iOS" \ CODE_SIGN_STYLE="Manual" \ DEVELOPMENT_TEAM="$TEAM_ID" \ - PROVISIONING_PROFILE_SPECIFIER="Enaklo Owner App Store" \ + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]=Enaklo Owner App Store" \ CODE_SIGN_IDENTITY="iPhone Distribution" \ - -allowProvisioningUpdates + CODE_SIGNING_REQUIRED=YES \ + CODE_SIGNING_ALLOWED=YES - name: Export IPA run: | diff --git a/ios/Podfile b/ios/Podfile index d19ec41..6d28777 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -42,6 +42,10 @@ post_install do |installer| target.build_configurations.each do |config| config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0' config.build_settings['CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'] = 'YES' + # Disable code signing for all Pod targets — only Runner needs signing + config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO' + config.build_settings['CODE_SIGNING_REQUIRED'] = 'NO' + config.build_settings['CODE_SIGN_IDENTITY'] = '' end end end