-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodemagic.yaml
More file actions
35 lines (34 loc) · 1.13 KB
/
Copy pathcodemagic.yaml
File metadata and controls
35 lines (34 loc) · 1.13 KB
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
# Default Codemagic Configuration for FAKeless
# This YAML file bypasses the UI and ensures a proper build for:
# 1. Android APK (Signed with debug keys for testing)
# 2. iOS Simulator (Unsigned .app file)
workflows:
default-workflow:
name: FAKeless Build (Android APK + iOS Simulator)
max_build_duration: 60
instance_type: mac_mini_m2 # M2 Mac for faster builds
environment:
flutter: stable
xcode: latest
cocoapods: default
scripts:
- name: Set up local.properties
script: |
echo "flutter.sdk=$FLUTTER_ROOT" > android/local.properties
- name: Get Flutter packages
script: |
flutter pub get
- name: Build Android APK
script: |
flutter build apk --release
- name: Build iOS Simulator
script: |
# This builds for the simulator, which does NOT require code signing.
flutter build ios --simulator --debug
artifacts:
- build/app/outputs/flutter-apk/*.apk
- build/ios/iphonesimulator/*.app
publishing:
email:
recipients:
- tahirsundhu8956@gmail.com # Use your email here