Skip to content

Commit

Permalink
Merge pull request #10 from mendix/feat-setup-release-pipeline-ios
Browse files Browse the repository at this point in the history
Feat setup release pipeline ios
  • Loading branch information
stelselim authored May 27, 2024
2 parents 826552c + 0ba67c1 commit 5c9d848
Show file tree
Hide file tree
Showing 13 changed files with 151 additions and 288 deletions.
17 changes: 11 additions & 6 deletions .github/actions/build_ios/action.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
name: 'Build iOS App'
description: 'Builds the iOS app using Fastlane'
name: 'Build & Upload iOS App'
description: 'Build and upload the iOS app using Fastlane'

runs:
using: 'composite'

steps:
- name: Hello Function
run: echo "Hello!"
shell: bash

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'

- name: Install Fastlane
run: gem install fastlane
shell: bash

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc

- name: Run Fastlane
run: cd ios && fastlane ios release
shell: bash
12 changes: 10 additions & 2 deletions .github/workflows/build_ios.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "iOS Test"
name: "Build & Upload iOS App"

on:
push:
Expand All @@ -16,5 +16,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Build iOS
- name: Build & Upload iOS App
uses: ./.github/actions/build_ios
env:
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_API_KEY }}
APP_STORE_CONNECT_KEY_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ID }}
APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}
APP_STORE_CONNECT_KEY_CONTENT: ${{ secrets.APP_STORE_CONNECT_KEY_CONTENT }}
47 changes: 47 additions & 0 deletions android/app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"project_info": {
"project_number": "542084943474",
"firebase_url": "https://mendix-developerapp.firebaseio.com",
"project_id": "mendix-developerapp",
"storage_bucket": "mendix-developerapp.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:542084943474:android:2ca19794e96659b1da7ceb",
"android_client_info": {
"package_name": "com.mendix.developerapp.mx10"
}
},
"oauth_client": [
{
"client_id": "542084943474-kuqtb0msdmjroc74mf9t9oui5if4046i.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "{{firebase-api-key}}"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "542084943474-kuqtb0msdmjroc74mf9t9oui5if4046i.apps.googleusercontent.com",
"client_type": 3
},
{
"client_id": "542084943474-03rk9m3agr20fs8fnjg4if2kosog0iil.apps.googleusercontent.com",
"client_type": 2,
"ios_info": {
"bundle_id": "com.mendix.developerapp.native.mx10"
}
}
]
}
}
}
],
"configuration_version": "1"
}
30 changes: 30 additions & 0 deletions ios/DeveloperApp/GoogleService-Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>API_KEY</key>
<string>AIzaSyAN_yB-Qb6oKklP1ICphWXQ4YMxNfibl4A</string>
<key>GCM_SENDER_ID</key>
<string>788164346630</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>com.mendix.developerapp.native.mx10</string>
<key>PROJECT_ID</key>
<string>make-it-native-test</string>
<key>STORAGE_BUCKET</key>
<string>make-it-native-test.appspot.com</string>
<key>IS_ADS_ENABLED</key>
<false></false>
<key>IS_ANALYTICS_ENABLED</key>
<false></false>
<key>IS_APPINVITE_ENABLED</key>
<true></true>
<key>IS_GCM_ENABLED</key>
<true></true>
<key>IS_SIGNIN_ENABLED</key>
<true></true>
<key>GOOGLE_APP_ID</key>
<string>1:788164346630:ios:3346229c58ceb2bd2d1487</string>
</dict>
</plist>
6 changes: 3 additions & 3 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
boost: a7c83b31436843459a1961bfd74b96033dc77234
boost: 57d2868c099736d80fcd648bf211b4431e51a558
BVLinearGradient: e3aad03778a456d77928f594a649e96995f1c872
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
Expand Down Expand Up @@ -1141,7 +1141,7 @@ SPEC CHECKSUMS:
Permission-PhotoLibrary: ddb5a158725b29cb12e9e477e8a5f5151c66cc3c
PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
QRCodeReader.swift: 373a389fe9a22d513c879a32a6f647c58f4ef572
RCT-Folly: 0080d0a6ebf2577475bda044aa59e2ca1f909cda
RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1
RCTRequired: 83bca1c184feb4d2e51c72c8369b83d641443f95
RCTTypeSafety: 13c4a87a16d7db6cd66006ce9759f073402ef85b
React: e67aa9f99957c7611c392b5e49355d877d6525e2
Expand Down Expand Up @@ -1225,4 +1225,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 5aa659dbdffe4dac60d7c41c77158d6182cc0f9c

COCOAPODS: 1.14.3
COCOAPODS: 1.15.2
6 changes: 3 additions & 3 deletions ios/developerapp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 20;
CURRENT_PROJECT_VERSION = 23;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = BC32QNM6AD;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = BC32QNM6AD;
Expand Down Expand Up @@ -803,7 +803,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 20;
CURRENT_PROJECT_VERSION = 23;
DEVELOPMENT_TEAM = BC32QNM6AD;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = BC32QNM6AD;
ENABLE_BITCODE = NO;
Expand Down Expand Up @@ -1068,7 +1068,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 20;
CURRENT_PROJECT_VERSION = 23;
DEVELOPMENT_TEAM = BC32QNM6AD;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = BC32QNM6AD;
ENABLE_BITCODE = NO;
Expand Down
4 changes: 1 addition & 3 deletions ios/fastlane/Appfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
app_identifier "com.mendix.developerapp.native.mx10" # The bundle identifier of your app
app_identifier("com.mendix.developerapp.native.mx10")

team_id "BC32QNM6AD" # Developer Portal Team ID

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

0 comments on commit 5c9d848

Please sign in to comment.