Files
NearFuture/.github/workflows/ios.yml
Nihaal Sharma e4842bd29a Update ios.yml
2025-05-26 18:02:37 +01:00

31 lines
787 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 for iOS Simulator
env:
scheme: ${{ 'default' }}
platform: ${{ 'iOS Simulator' }}
run: |
xcodebuild \
-project 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