Skip to content

Add visionOS deployment target to podspec #366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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