-
Notifications
You must be signed in to change notification settings - Fork 0
/
codemagic.yaml
48 lines (48 loc) · 1.35 KB
/
codemagic.yaml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
workflows:
ios-workflow:
name: iOS Workflow for Strawberry
instance_type: mac_mini
max_build_duration: 60
environment:
node: 14.15.5
xcode: latest
triggering:
events:
- push
branch_patterns:
- pattern: '*'
include: true
source: true
scripts:
- name: Install npm dependencies for Ionic project
script: |
npm install
- name: Build React
script: |
npm run build
- name: Install capacitor for iOS
script: |
npm install @capacitor/ios
- name: Add iOS to capacitor
script: |
npx cap add ios
- name: Sync capacitor
script: |
npx cap sync
- name: Cocoapods installation
script: |
cd ios/App && pod install
- name: Build Xcode
script: |
xcodebuild build -workspace "MyXcodeWorkspace.xcworkspace" -scheme "MyScheme" CODE_SIGN_INDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
artifacts:
- build/ios/ipa/*.ipa
- /tmp/xcodebuild_logs/*.log
- $HOME/Library/Developer/Xcode/DerivedData/**/Build/**/*.app
- $HOME/Library/Developer/Xcode/DerivedData/**/Build/**/*.dSYM
publishing:
email:
recipients:
- everettflynn25@gmail.com
scripts:
- echo 'Post-publish script'