Skip to content
This repository was archived by the owner on Oct 16, 2025. It is now read-only.

Commit fc3bfd2

Browse files
committed
fix: podspec to support all apple os
1 parent d7e7769 commit fc3bfd2

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/deploy-cocoapods.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ jobs:
1616
run: |
1717
sudo xcode-select -s /Applications/Xcode.app
1818
19+
- name: Install tvOS and watchOS Simulators
20+
run: |
21+
# Download and install tvOS simulator
22+
xcodebuild -downloadPlatform tvOS
23+
# Download and install watchOS simulator
24+
xcodebuild -downloadPlatform watchOS
25+
1926
- name: Setup Ruby
2027
uses: ruby/setup-ruby@v1
2128
with:

openiap.podspec

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ Pod::Spec.new do |s|
1212
s.author = { 'hyodotdev' => 'hyo@hyo.dev' }
1313
s.source = { :git => 'https://github.com/hyodotdev/openiap-apple.git', :tag => s.version.to_s }
1414

15-
s.ios.deployment_target = '13.0'
16-
s.osx.deployment_target = '10.15'
15+
s.ios.deployment_target = '15.0'
16+
s.osx.deployment_target = '14.0'
17+
s.tvos.deployment_target = '15.0'
18+
s.watchos.deployment_target = '8.0'
1719

18-
s.swift_version = '5.0'
20+
s.swift_version = '5.9'
1921
s.source_files = 'Sources/**/*.swift'
2022

2123
s.frameworks = 'StoreKit'

0 commit comments

Comments
 (0)