Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
f763f40
Using Xcode 26.0.1 for iOS build
Jul 30, 2026
dc9f241
Adding ios OS requirement for the Xcode version setup step
Jul 30, 2026
191a740
adding clean build keyword
Jul 30, 2026
dce85aa
Adding code segment to fetch metal toolchain and iOS Platform SDK
Jul 30, 2026
5580734
Removing .xcode.env.local
Jul 30, 2026
c106c39
Added conditional metalToolchain install for android build
Jul 30, 2026
f0f8412
temporarily commenting iOS Platform SD addition
Jul 30, 2026
c6629be
temporarily commenting out the metal toolchain installation
Jul 30, 2026
c6c2147
temporarily removin a line from the xcode build command
Jul 31, 2026
9d95026
Changing xCode version from 26.0.1 to 26.1.1
Jul 31, 2026
9399bda
Changing xCode version from 26.1.1 to 26.2.0
Jul 31, 2026
1cf7c53
Changing xCode version from 26.1.1 to 26.2.0
Jul 31, 2026
c65f883
Changing xCode version from 26.6 to 26.6.0
Jul 31, 2026
2c84bea
Changing xCode version from 26.6.0 to 26.5.0
Jul 31, 2026
88d93a0
Changing xCode version from 26.5.0 to 26.3.0
Jul 31, 2026
e96d422
Changing xCode version from 26.3.0 to 26.4.0
Jul 31, 2026
f98e331
Final fix - Choosing version 26.3.0 for xCode
Jul 31, 2026
883db6a
Created separate build file for iOS
Jul 31, 2026
b1d2696
Fixed a small syntax/spelling mistake
Jul 31, 2026
88faf3c
deleted combined build file
Jul 31, 2026
dff2e10
Added build file for android
Jul 31, 2026
d5951a3
made small change
Jul 31, 2026
7f41351
temporarily commenting out everything in android build
Jul 31, 2026
8429125
Both build files ready
Jul 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/build-app-android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Build Example App on Android

on:
push:
branches: [main]
pull_request:
workflow_dispatch:

jobs:
build-android:
runs-on: ${{ matrix.runner }}
strategy:
matrix:
include:
- platform: android
runner: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 22

- name: Install component dependencies
run: npm ci

- name: Install example app dependencies
working-directory: example
run: npm ci

- name: Set up Java for Android
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 17

- name: Set up Android SDK
uses: android-actions/setup-android@v3

- name: Build Android app
working-directory: example/android
run: ./gradlew assembleDebug
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Example App
name: Build Example App on iOS

on:
push:
Expand All @@ -7,21 +7,18 @@ on:
workflow_dispatch:

jobs:
build-app:
name: Build Example App (${{ matrix.platform }})
build-ios:
runs-on: ${{ matrix.runner }}
strategy:
matrix:
include:
- platform: android
runner: ubuntu-latest
- platform: ios
runner: macos-latest

steps:
- uses: actions/checkout@v4

- name: Set up Node.js
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 22
Expand All @@ -33,24 +30,7 @@ jobs:
working-directory: example
run: npm ci

- name: Set up Java for Android
if: matrix.platform == 'android'
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 17

- name: Set up Android SDK
if: matrix.platform == 'android'
uses: android-actions/setup-android@v3

- name: Build Android app
if: matrix.platform == 'android'
working-directory: example/android
run: ./gradlew assembleDebug

- name: Cache CocoaPods
if: matrix.platform == 'ios'
uses: actions/cache@v4
with:
path: |
Expand All @@ -61,7 +41,6 @@ jobs:
pods-${{ runner.os }}-

- name: Cache iOS Build
if: matrix.platform == 'ios'
uses: irgaly/xcode-cache@v1
with:
deriveddata-directory: xcode-derived-data
Expand All @@ -74,6 +53,19 @@ jobs:
run: |
sudo gem install cocoapods
pod install

# Multiple recent Xcode versions were tested.
# Working ones: 26.0.1, 26.2.0, 26.3.0
# Non Working ones: 26.1.1, 26.6, 26.6.0, 26.5.0, 26.4
- name: Set up the correct Xcode version
if: matrix.platform == 'ios'
run: |
sudo xcode-select -s \
/Applications/Xcode_26.3.0.app/Contents/Developer

- name: Pre-load iOS Platform SD
if: matrix.platform == 'ios'
run: xcodebuild -downloadPlatform iOS

- name: Build iOS app
if: matrix.platform == 'ios'
Expand All @@ -85,4 +77,4 @@ jobs:
-sdk iphonesimulator \
-configuration Debug \
-derivedDataPath ../../xcode-derived-data \
build | xcpretty
build | xcpretty
Loading