This repository has been archived by the owner on Mar 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
WistiaKit.podspec
48 lines (37 loc) · 2.05 KB
/
WistiaKit.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# The full WistiaKit pod adds playback to the WistiaKitCore pod
#
# They are split into two individual Pods to allow for different
# module names (which isn't possible with subspecs).
Pod::Spec.new do |s|
s.name = "WistiaKit"
s.version = "0.42.0"
s.summary = "Access and playback all of your Wistia media"
s.description = <<-DESC
Wistia is a great web video host. But why shackle ourselves to the world wide web?
With WistiaKit you can easily access and play back all of your Wistia hosted content natively on iOS and tvOS.
We've built for you a beautiful high level view controller (like AVPlayerViewController) sitting atop a powerful lower level player (like AVPlayer) providing all of the power of Wistia on iOS and tvOS.
DESC
s.homepage = "https://github.com/wistia/WistiaKit"
# s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
s.license = 'MIT'
s.author = { "spinosa" => "[email protected]" }
s.source = { :git => "https://github.com/wistia/WistiaKit.git", :tag => s.version.to_s }
s.social_media_url = 'http://twitter.com/wistia'
s.ios.deployment_target = '9.0'
s.tvos.deployment_target = '10.0'
s.requires_arc = true
s.dependency 'WistiaKitCore'
s.source_files = "Pod/Classes/Playback/**/*"
# Although resource_bundles is the new recommended hotness, it doesn't play well with Asset Catalogs.
# s.resource_bundles = {
# 'Assets' => ['Pod/Assets/**/*.xcassets']
# }
# Fortunately, the old resources method will faithfully copy the catalog in such a way that it 'just works'
s.resources = 'Pod/Assets/**/*.xcassets'
# No xibs on tvOS
s.tvos.exclude_files = 'Pod/Classes/**/*.{xib,nib}'
s.dependency 'AlamofireImage', '~> 3.4'
# No CoreMotion on tvOS
s.ios.frameworks = 'WistiaKitCore', 'AdSupport', 'AVFoundation', 'AVKit', 'SceneKit', 'SpriteKit', 'UIKit', 'CoreMotion'
s.tvos.frameworks = 'WistiaKitCore', 'AdSupport', 'AVFoundation', 'AVKit', 'SceneKit', 'SpriteKit', 'UIKit'
end