Files
NearFuture/.github/workflows/ios.yml
Nihaal Sharma b378a831be Update ios.yml
2025-05-26 17:57:31 +01:00

31 lines
771 B
YAML

name: iOS starter workflow
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: Build and Test default scheme using any available iPhone simulator
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
env:
scheme: ${{ 'default' }}
platform: ${{ 'iOS Simulator' }}
run: |
xcodebuild \
-workspace NearFuture.xcodeproj
-scheme NearFuture \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=18.5' \
clean build \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_ALLOWED=NO