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

Commit 819620f

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

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/deploy-cocoapods.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
pod lib lint openiap.podspec --allow-warnings
3232
3333
- name: Deploy to CocoaPods Trunk
34-
if: github.event_name == 'release'
34+
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
3535
env:
3636
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
3737
COCOAPODS_VALIDATOR_SKIP_XCODEBUILD: 1

openiap.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ 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'
1717

18-
s.swift_version = '5.0'
18+
s.swift_version = '5.9'
1919
s.source_files = 'Sources/**/*.swift'
2020

2121
s.frameworks = 'StoreKit'

0 commit comments

Comments
 (0)