Skip to content

Fix iOS Deployment #106

Fix iOS Deployment

Fix iOS Deployment #106

Workflow file for this run

name: iOS CI
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: macos-latest
steps:
- name: Check Xcode version
run: /usr/bin/xcodebuild -version
- name: Checkout Repo
uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Log Environment Vars
run: env
- name: Copy Export Options Plist
run: base64 -d <<< "$IOS_EXPORT_OPTIONS_PLIST" > "$RUNNER_TEMP/ExportOptions.plist"
- name: Build App
run: |
cd iosApp && \
xcodebuild -scheme "iosApp" \
-archivePath $RUNNER_TEMP/iosApp.xcarchive \
-sdk iphoneos \
-configuration Debug \
-destination generic/platform=iOS \
-exportOptionsPlist $RUNNER_TEMP/ExportOptions.plist \
clean archive