-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update support min version OS 15 (#79)
* update support min version OS 15 * Update PR.yml * fix podspec file * Update ci.yml * Update release.yml
- Loading branch information
Showing
6 changed files
with
62 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,124 +5,109 @@ suffix = '.0000' # Dev mode | |
Pod::Spec.new do |s| | ||
|
||
s.name = 'KalturaPlayer' | ||
s.version = '4.9.0' + suffix | ||
s.version = '4.9.1' + suffix | ||
s.summary = 'KalturaPlayer -- Kaltura Player for iOS and tvOS' | ||
s.homepage = 'https://github.com/kaltura/kaltura-player-ios' | ||
s.license = { :type => 'AGPLv3', :file => 'LICENSE' } | ||
s.author = { 'Kaltura' => '[email protected]' } | ||
s.source = { :git => 'https://github.com/kaltura/kaltura-player-ios.git', :tag => 'v' + s.version.to_s } | ||
s.swift_version = '5.0' | ||
|
||
s.ios.deployment_target = '10.0' | ||
s.tvos.deployment_target = '10.0' | ||
s.ios.deployment_target = '15.0' | ||
s.tvos.deployment_target = '15.0' | ||
|
||
s.subspec 'Interceptor' do |sp| | ||
sp.source_files = 'Sources/Interceptor/*' | ||
|
||
sp.dependency 'PlayKit', '~> 3.28' | ||
sp.dependency 'PlayKit', '~> 3.30' | ||
end | ||
|
||
s.xcconfig = { | ||
### The following is required for Xcode 12 (https://stackoverflow.com/questions/63607158/xcode-12-building-for-ios-simulator-but-linking-in-object-file-built-for-ios) | ||
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' | ||
} | ||
# Fix pod lint error: could not find module for target 'arm64-apple-ios-simulator' | ||
# This error indicates that a pod dependency in your project doesn't have a compiled version for the arm64 architecture of the iOS simulator. | ||
# This is because Apple Silicon Macs (M1, M2, etc.) use arm64 architecture, while Intel Macs use x86_64. | ||
# see: https://stackoverflow.com/a/63955114/1571228 | ||
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' } | ||
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' } | ||
|
||
|
||
################################################################ | ||
|
||
s.subspec 'Core' do |sp| | ||
sp.ios.deployment_target = '10.0' | ||
sp.tvos.deployment_target = '10.0' | ||
sp.ios.deployment_target = '15.0' | ||
sp.tvos.deployment_target = '15.0' | ||
|
||
sp.source_files = 'Sources/*', 'Sources/Basic/*', 'Sources/Playlist/*' | ||
|
||
sp.dependency 'KalturaPlayer/Interceptor' | ||
end | ||
|
||
s.subspec 'OTT' do |sp| | ||
s.subspec 'OTT' do |sp| | ||
sp.source_files = 'Sources/OTT/*', 'Sources/Common' | ||
sp.resources = 'Sources/OTT/*.xcdatamodeld' | ||
|
||
sp.dependency 'KalturaPlayer/Core' | ||
sp.dependency 'PlayKitProviders', '~> 1.18' | ||
sp.dependency 'PlayKitKava', '~> 1.10' | ||
sp.dependency 'PlayKitProviders', '~> 1.19' | ||
sp.dependency 'PlayKitKava', '~> 1.11' | ||
end | ||
|
||
s.subspec 'OVP' do |sp| | ||
sp.source_files = 'Sources/OVP/*', 'Sources/Common' | ||
sp.resources = 'Sources/OVP/*.xcdatamodeld' | ||
|
||
sp.dependency 'KalturaPlayer/Core' | ||
sp.dependency 'PlayKitProviders', '~> 1.18' | ||
sp.dependency 'PlayKitKava', '~> 1.10' | ||
sp.dependency 'PlayKitProviders', '~> 1.19' | ||
sp.dependency 'PlayKitKava', '~> 1.11' | ||
end | ||
|
||
################################################################ | ||
|
||
### Offline Supported only in iOS ### | ||
################################################################ | ||
|
||
s.subspec 'Offline' do |sp| | ||
sp.ios.deployment_target = '10.0' | ||
sp.ios.deployment_target = '15.0' | ||
|
||
sp.source_files = 'Sources/Offline/*', 'Sources/*', 'Sources/Basic/*', 'Sources/Interceptor/*', 'Sources/Playlist/*' | ||
|
||
sp.dependency 'DownloadToGo', '~> 3.18' | ||
sp.dependency 'PlayKit', '~> 3.28' | ||
|
||
sp.xcconfig = { | ||
### The following is required for Xcode 12 (https://stackoverflow.com/questions/63607158/xcode-12-building-for-ios-simulator-but-linking-in-object-file-built-for-ios) | ||
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' | ||
} | ||
|
||
sp.dependency 'DownloadToGo', '~> 3.20.0' | ||
sp.dependency 'PlayKit', '~> 3.30' | ||
end | ||
|
||
s.subspec 'Offline_OTT' do |sp| | ||
sp.ios.deployment_target = '10.0' | ||
s.subspec 'Offline_OTT' do |sp| | ||
sp.ios.deployment_target = '15.0' | ||
|
||
sp.source_files = 'Sources/Offline/OTT/*', 'Sources/OTT/*', 'Sources/Common' | ||
sp.resources = 'Sources/OTT/*.xcdatamodeld' | ||
|
||
sp.dependency 'KalturaPlayer/Offline' | ||
sp.dependency 'PlayKitProviders', '~> 1.18' | ||
sp.dependency 'PlayKitKava', '~> 1.10' | ||
|
||
sp.xcconfig = { | ||
### The following is required for Xcode 12 (https://stackoverflow.com/questions/63607158/xcode-12-building-for-ios-simulator-but-linking-in-object-file-built-for-ios) | ||
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' | ||
} | ||
|
||
sp.dependency 'PlayKitProviders', '~> 1.19' | ||
sp.dependency 'PlayKitKava', '~> 1.11' | ||
end | ||
|
||
s.subspec 'Offline_OVP' do |sp| | ||
sp.ios.deployment_target = '10.0' | ||
sp.ios.deployment_target = '15.0' | ||
|
||
sp.source_files = 'Sources/Offline/OVP/*', 'Sources/OVP/*', 'Sources/Common' | ||
sp.resources = 'Sources/OVP/*.xcdatamodeld' | ||
|
||
sp.dependency 'KalturaPlayer/Offline' | ||
sp.dependency 'PlayKitProviders', '~> 1.18' | ||
sp.dependency 'PlayKitKava', '~> 1.10' | ||
|
||
sp.xcconfig = { | ||
### The following is required for Xcode 12 (https://stackoverflow.com/questions/63607158/xcode-12-building-for-ios-simulator-but-linking-in-object-file-built-for-ios) | ||
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' | ||
} | ||
|
||
sp.dependency 'PlayKitProviders', '~> 1.19' | ||
sp.dependency 'PlayKitKava', '~> 1.11' | ||
end | ||
|
||
################################################################ | ||
### UI for iOS ### | ||
################################################################ | ||
|
||
s.subspec 'UI' do |sp| | ||
sp.ios.deployment_target = '10.0' | ||
sp.ios.deployment_target = '15.0' | ||
|
||
sp.source_files = 'Sources/UI/*' | ||
sp.resources = [ 'Sources/UI/Assets/*'] | ||
|
||
sp.dependency 'KalturaPlayer/Core' | ||
|
||
end | ||
|
||
################################################################ | ||
|
||
s.default_subspec = 'Core' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters