Skip to content

Commit c561e0d

Browse files
authored
Add visionOS deployment target to podspec (#366)
1 parent 7dc5b28 commit c561e0d

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

.github/workflows/cd.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,26 @@ name: CD
33
on:
44
push:
55
tags:
6-
- '*'
6+
- "*"
77

88
jobs:
99
deploy:
1010
name: Deploy to CocoaPods Trunk
11-
runs-on: macos-latest
11+
runs-on: macos-14
1212
steps:
1313
- name: Git Checkout
1414
uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0 # required to be able to find Git tags
1717

18+
- name: Set up pkgx environment
19+
uses: pkgxdev/setup@v1
20+
with:
21+
+: pod xcodes
22+
23+
- name: Select Xcode version
24+
run: sudo xcodes select 15.4
25+
1826
- name: Deploy to CocoaPods Trunk
1927
run: |
2028
set -eo pipefail

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,21 @@ concurrency:
1717
jobs:
1818
lint-podspec:
1919
name: Lint Podspec
20-
runs-on: macos-latest
20+
runs-on: macos-14
2121
steps:
2222
- name: Git Checkout
2323
uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0 # required to be able to find Git tags
2626

27+
- name: Set up pkgx environment
28+
uses: pkgxdev/setup@v1
29+
with:
30+
+: pod xcodes
31+
32+
- name: Select Xcode version
33+
run: sudo xcodes select 15.4
34+
2735
- name: Lint Podspec
2836
run: |
2937
set -eo pipefail

SwiftUIIntrospect.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ Pod::Spec.new do |spec|
1616
spec.ios.deployment_target = '13.0'
1717
spec.tvos.deployment_target = '13.0'
1818
spec.osx.deployment_target = '10.15'
19+
spec.visionos.deployment_target = '1.0'
1920
end

0 commit comments

Comments
 (0)