Files
PlayerKit/PlayerKit.podspec
T
Bryant Balatbat aa23c953ca CRI-1212: Integrate macOS changes (#92)
* Add support for macOS

- Add PlayerView for switching between UIKit and AppKit view class
- Remove imports of UIKit
- Replace UIView uses with PlayerView
- Add #if for cases that are not supported on macOS
- Update podspec for macOS specific configuration

* Add documentation for PlayerView

* Fix brace placement

* Lower macOS minimum deployment target

* Change type oif RegularPlayerView to PlayerView

* Updated parameters to support macOS and tvOS

* Switch to canImport() from os()

* Revert canImport() back to os() in on instance
2019-08-19 15:24:19 -04:00

27 lines
789 B
Ruby

Pod::Spec.new do |s|
s.name = 'PlayerKit'
s.version = '3.1.0'
s.summary = 'A modular video player system.'
s.description = <<-DESC
PlayerKit is a modular video player system for iOS, tvOS, & macOS.
DESC
s.homepage = 'https://github.com/vimeo/PlayerKit'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'code' => 'gavin@vimeo.com' }
s.source = { :git => 'https://github.com/vimeo/PlayerKit.git', :tag => s.version.to_s }
s.ios.deployment_target = '10.3'
s.tvos.deployment_target = '10.0'
s.osx.deployment_target = '10.11'
s.ios.framework = 'UIKit'
s.osx.framework = 'AppKit'
s.swift_version = "5.0"
s.source_files = 'Sources/**/*.swift'
end