-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodemagic.yaml
More file actions
35 lines (35 loc) · 996 Bytes
/
codemagic.yaml
File metadata and controls
35 lines (35 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
workflows:
ios-release:
name: iOS Release
max_build_duration: 60
instance_type: mac_mini_m2
environment:
ios_signing:
distribution_type: app_store
bundle_identifier: com.yourname.engforce # ← ĐỔI thành Bundle ID của bạn
flutter: stable
xcode: latest
cocoapods: default
scripts:
- name: Set up code signing
script: |
keychain initialize
app-store-connect fetch-signing-files "$(BUNDLE_ID)" \
--type IOS_APP_STORE \
--create
keychain add-certificates
xcode-project use-profiles
- name: Get Flutter packages
script: flutter pub get
- name: Install CocoaPods
script: |
cd ios
pod install
- name: Build iOS
script: flutter build ipa --release
artifacts:
- build/ios/ipa/*.ipa
publishing:
app_store_connect:
auth: integration
submit_to_testflight: true