Skip to content

Unblock iOS CI build by fixing sample data extensions #4

Unblock iOS CI build by fixing sample data extensions

Unblock iOS CI build by fixing sample data extensions #4

Workflow file for this run

name: iOS Build
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
actions: write
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Fetch Dishtracker SDK dependency
env:
SDK_TOKEN: ${{ secrets.DISHTRACKER_SDK_TOKEN || github.token }}
run: |
GIT_TERMINAL_PROMPT=0 git clone --depth 1 \
https://x-access-token:${SDK_TOKEN}@github.com/MoonVision/ZeroQDishtrackerSDKiOS.git \
../ZeroQDishtrackerSDKiOS
- name: Build iOS app (unsigned)
run: |
xcodebuild \
-project DishtrackerCoreExample.xcodeproj \
-scheme DishtrackerCoreExample \
-configuration Release \
-sdk iphoneos \
-derivedDataPath build \
CODE_SIGNING_ALLOWED=NO \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_IDENTITY=""
- name: Package app artifact
run: |
mkdir -p artifacts
ditto -c -k --sequesterRsrc --keepParent \
build/Build/Products/Release-iphoneos/DishtrackerCoreExample.app \
artifacts/DishtrackerCoreExample.app.zip
- name: Upload app artifact
uses: actions/upload-artifact@v4
with:
name: DishtrackerCoreExample-iphoneos
path: artifacts/DishtrackerCoreExample.app.zip