Skip to content

Commit

Permalink
Add visionOS deployment target to podspec (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
davdroman authored May 7, 2024
1 parent 7dc5b28 commit c561e0d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,26 @@ name: CD
on:
push:
tags:
- '*'
- "*"

jobs:
deploy:
name: Deploy to CocoaPods Trunk
runs-on: macos-latest
runs-on: macos-14
steps:
- name: Git Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # required to be able to find Git tags

- name: Set up pkgx environment
uses: pkgxdev/setup@v1
with:
+: pod xcodes

- name: Select Xcode version
run: sudo xcodes select 15.4

- name: Deploy to CocoaPods Trunk
run: |
set -eo pipefail
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,21 @@ concurrency:
jobs:
lint-podspec:
name: Lint Podspec
runs-on: macos-latest
runs-on: macos-14
steps:
- name: Git Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # required to be able to find Git tags

- name: Set up pkgx environment
uses: pkgxdev/setup@v1
with:
+: pod xcodes

- name: Select Xcode version
run: sudo xcodes select 15.4

- name: Lint Podspec
run: |
set -eo pipefail
Expand Down
1 change: 1 addition & 0 deletions SwiftUIIntrospect.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ Pod::Spec.new do |spec|
spec.ios.deployment_target = '13.0'
spec.tvos.deployment_target = '13.0'
spec.osx.deployment_target = '10.15'
spec.visionos.deployment_target = '1.0'
end

0 comments on commit c561e0d

Please sign in to comment.