update
Some checks are pending
Build & Deploy iOS to TestFlight / build-and-deploy (push) Waiting to run

This commit is contained in:
efrilm 2026-05-29 18:16:57 +07:00
parent 5a0f37fd3c
commit d99dae0ca9
2 changed files with 9 additions and 3 deletions

View File

@ -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: |

View File

@ -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