Compile fix for visionOS (#19) #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Swift | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build_xcode: | |
runs-on: macos-11 | |
steps: | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: '13.0' # latest-stable | |
- uses: actions/checkout@v2 | |
- name: Build TGCardVC | |
run: xcodebuild -workspace . -scheme TGCardViewController -destination 'platform=iOS Simulator,name=iPhone 13' | |
examples: | |
runs-on: macos-11 | |
steps: | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: '13.0' # latest-stable | |
- uses: actions/checkout@v2 | |
- name: Build Example | |
run: | | |
cd Example | |
xcodebuild build -scheme 'Example' -destination 'platform=iOS Simulator,name=iPhone 13' |