update
Some checks are pending
Build & Deploy iOS to TestFlight / build-and-deploy (push) Waiting to run
Some checks are pending
Build & Deploy iOS to TestFlight / build-and-deploy (push) Waiting to run
This commit is contained in:
parent
5a0f37fd3c
commit
d99dae0ca9
8
.github/workflows/ios.yml
vendored
8
.github/workflows/ios.yml
vendored
@ -79,17 +79,19 @@ jobs:
|
|||||||
# Build Flutter (no codesign — signing happens in xcodebuild archive)
|
# Build Flutter (no codesign — signing happens in xcodebuild archive)
|
||||||
flutter build ios --release --no-codesign
|
flutter build ios --release --no-codesign
|
||||||
|
|
||||||
# Archive with manual signing
|
# Archive with manual signing scoped only to Runner target
|
||||||
xcodebuild archive \
|
xcodebuild archive \
|
||||||
-workspace ios/Runner.xcworkspace \
|
-workspace ios/Runner.xcworkspace \
|
||||||
-scheme Runner \
|
-scheme Runner \
|
||||||
-configuration Release \
|
-configuration Release \
|
||||||
-archivePath $RUNNER_TEMP/Runner.xcarchive \
|
-archivePath $RUNNER_TEMP/Runner.xcarchive \
|
||||||
|
-destination "generic/platform=iOS" \
|
||||||
CODE_SIGN_STYLE="Manual" \
|
CODE_SIGN_STYLE="Manual" \
|
||||||
DEVELOPMENT_TEAM="$TEAM_ID" \
|
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" \
|
CODE_SIGN_IDENTITY="iPhone Distribution" \
|
||||||
-allowProvisioningUpdates
|
CODE_SIGNING_REQUIRED=YES \
|
||||||
|
CODE_SIGNING_ALLOWED=YES
|
||||||
|
|
||||||
- name: Export IPA
|
- name: Export IPA
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@ -42,6 +42,10 @@ post_install do |installer|
|
|||||||
target.build_configurations.each do |config|
|
target.build_configurations.each do |config|
|
||||||
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
|
||||||
config.build_settings['CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'] = 'YES'
|
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
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user