Skip to content

Commit 5c9d848

Browse files
authored
Merge pull request #10 from mendix/feat-setup-release-pipeline-ios
Feat setup release pipeline ios
2 parents 826552c + 0ba67c1 commit 5c9d848

File tree

13 files changed

+151
-288
lines changed

13 files changed

+151
-288
lines changed
Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
1-
name: 'Build iOS App'
2-
description: 'Builds the iOS app using Fastlane'
1+
name: 'Build & Upload iOS App'
2+
description: 'Build and upload the iOS app using Fastlane'
33

44
runs:
55
using: 'composite'
66

77
steps:
8-
- name: Hello Function
9-
run: echo "Hello!"
10-
shell: bash
11-
128
- name: Set up Ruby
139
uses: ruby/setup-ruby@v1
1410
with:
1511
ruby-version: '2.7'
1612

1713
- name: Install Fastlane
1814
run: gem install fastlane
15+
shell: bash
16+
17+
- name: Setup Node
18+
uses: actions/setup-node@v3
19+
with:
20+
node-version-file: .nvmrc
21+
22+
- name: Run Fastlane
23+
run: cd ios && fastlane ios release
1924
shell: bash

.github/workflows/build_ios.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "iOS Test"
1+
name: "Build & Upload iOS App"
22

33
on:
44
push:
@@ -16,5 +16,13 @@ jobs:
1616
- name: Checkout code
1717
uses: actions/checkout@v3
1818

19-
- name: Build iOS
19+
- name: Build & Upload iOS App
2020
uses: ./.github/actions/build_ios
21+
env:
22+
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
23+
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
24+
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
25+
GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_API_KEY }}
26+
APP_STORE_CONNECT_KEY_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ID }}
27+
APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}
28+
APP_STORE_CONNECT_KEY_CONTENT: ${{ secrets.APP_STORE_CONNECT_KEY_CONTENT }}

android/app/google-services.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"project_info": {
3+
"project_number": "542084943474",
4+
"firebase_url": "https://mendix-developerapp.firebaseio.com",
5+
"project_id": "mendix-developerapp",
6+
"storage_bucket": "mendix-developerapp.appspot.com"
7+
},
8+
"client": [
9+
{
10+
"client_info": {
11+
"mobilesdk_app_id": "1:542084943474:android:2ca19794e96659b1da7ceb",
12+
"android_client_info": {
13+
"package_name": "com.mendix.developerapp.mx10"
14+
}
15+
},
16+
"oauth_client": [
17+
{
18+
"client_id": "542084943474-kuqtb0msdmjroc74mf9t9oui5if4046i.apps.googleusercontent.com",
19+
"client_type": 3
20+
}
21+
],
22+
"api_key": [
23+
{
24+
"current_key": "{{firebase-api-key}}"
25+
}
26+
],
27+
"services": {
28+
"appinvite_service": {
29+
"other_platform_oauth_client": [
30+
{
31+
"client_id": "542084943474-kuqtb0msdmjroc74mf9t9oui5if4046i.apps.googleusercontent.com",
32+
"client_type": 3
33+
},
34+
{
35+
"client_id": "542084943474-03rk9m3agr20fs8fnjg4if2kosog0iil.apps.googleusercontent.com",
36+
"client_type": 2,
37+
"ios_info": {
38+
"bundle_id": "com.mendix.developerapp.native.mx10"
39+
}
40+
}
41+
]
42+
}
43+
}
44+
}
45+
],
46+
"configuration_version": "1"
47+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>API_KEY</key>
6+
<string>AIzaSyAN_yB-Qb6oKklP1ICphWXQ4YMxNfibl4A</string>
7+
<key>GCM_SENDER_ID</key>
8+
<string>788164346630</string>
9+
<key>PLIST_VERSION</key>
10+
<string>1</string>
11+
<key>BUNDLE_ID</key>
12+
<string>com.mendix.developerapp.native.mx10</string>
13+
<key>PROJECT_ID</key>
14+
<string>make-it-native-test</string>
15+
<key>STORAGE_BUCKET</key>
16+
<string>make-it-native-test.appspot.com</string>
17+
<key>IS_ADS_ENABLED</key>
18+
<false></false>
19+
<key>IS_ANALYTICS_ENABLED</key>
20+
<false></false>
21+
<key>IS_APPINVITE_ENABLED</key>
22+
<true></true>
23+
<key>IS_GCM_ENABLED</key>
24+
<true></true>
25+
<key>IS_SIGNIN_ENABLED</key>
26+
<true></true>
27+
<key>GOOGLE_APP_ID</key>
28+
<string>1:788164346630:ios:3346229c58ceb2bd2d1487</string>
29+
</dict>
30+
</plist>

ios/Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ EXTERNAL SOURCES:
10991099
:path: "../node_modules/react-native/ReactCommon/yoga"
11001100

11011101
SPEC CHECKSUMS:
1102-
boost: a7c83b31436843459a1961bfd74b96033dc77234
1102+
boost: 57d2868c099736d80fcd648bf211b4431e51a558
11031103
BVLinearGradient: e3aad03778a456d77928f594a649e96995f1c872
11041104
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
11051105
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
@@ -1141,7 +1141,7 @@ SPEC CHECKSUMS:
11411141
Permission-PhotoLibrary: ddb5a158725b29cb12e9e477e8a5f5151c66cc3c
11421142
PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
11431143
QRCodeReader.swift: 373a389fe9a22d513c879a32a6f647c58f4ef572
1144-
RCT-Folly: 0080d0a6ebf2577475bda044aa59e2ca1f909cda
1144+
RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1
11451145
RCTRequired: 83bca1c184feb4d2e51c72c8369b83d641443f95
11461146
RCTTypeSafety: 13c4a87a16d7db6cd66006ce9759f073402ef85b
11471147
React: e67aa9f99957c7611c392b5e49355d877d6525e2
@@ -1225,4 +1225,4 @@ SPEC CHECKSUMS:
12251225

12261226
PODFILE CHECKSUM: 5aa659dbdffe4dac60d7c41c77158d6182cc0f9c
12271227

1228-
COCOAPODS: 1.14.3
1228+
COCOAPODS: 1.15.2

ios/developerapp.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@
734734
CODE_SIGN_IDENTITY = "Apple Development";
735735
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
736736
CODE_SIGN_STYLE = Manual;
737-
CURRENT_PROJECT_VERSION = 20;
737+
CURRENT_PROJECT_VERSION = 23;
738738
DEAD_CODE_STRIPPING = YES;
739739
DEVELOPMENT_TEAM = BC32QNM6AD;
740740
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = BC32QNM6AD;
@@ -803,7 +803,7 @@
803803
CODE_SIGN_IDENTITY = "Apple Development";
804804
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
805805
CODE_SIGN_STYLE = Manual;
806-
CURRENT_PROJECT_VERSION = 20;
806+
CURRENT_PROJECT_VERSION = 23;
807807
DEVELOPMENT_TEAM = BC32QNM6AD;
808808
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = BC32QNM6AD;
809809
ENABLE_BITCODE = NO;
@@ -1068,7 +1068,7 @@
10681068
CODE_SIGN_IDENTITY = "Apple Development";
10691069
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
10701070
CODE_SIGN_STYLE = Manual;
1071-
CURRENT_PROJECT_VERSION = 20;
1071+
CURRENT_PROJECT_VERSION = 23;
10721072
DEVELOPMENT_TEAM = BC32QNM6AD;
10731073
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = BC32QNM6AD;
10741074
ENABLE_BITCODE = NO;

ios/fastlane/Appfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
app_identifier "com.mendix.developerapp.native.mx10" # The bundle identifier of your app
1+
app_identifier("com.mendix.developerapp.native.mx10")
22

3-
team_id "BC32QNM6AD" # Developer Portal Team ID
43

5-
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

0 commit comments

Comments
 (0)