-
Notifications
You must be signed in to change notification settings - Fork 0
/
PSPhotosPrivate.podspec
39 lines (31 loc) · 1.3 KB
/
PSPhotosPrivate.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
#
# Be sure to run `pod lib lint PSPhotos.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'PSPhotosPrivate'
s.version = '0.4.0'
s.summary = 'PRIVATE:PSPhotos makes it easier to use Photos.framework to read and store images or videos.'
s.homepage = 'https://github.com/zisulu/PSPhotos'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'zisu' => '[email protected]' }
s.source = { :git => 'https://github.com/zisulu/PSPhotos.git', :tag => s.version.to_s }
s.ios.deployment_target = '9.0'
s.requires_arc = true
s.frameworks = 'Foundation', 'UIKit'
s.default_subspec = 'Photos'
# Photos
s.subspec 'Photos' do |ss|
ss.source_files = 'PSPhotos/Photos/*.{h,m}', 'PSPhotos/PSDefines.h'
ss.dependency 'PSPhotosPrivate/AVMedia'
ss.frameworks = 'Photos', 'CoreServices', 'PhotosUI'
end
# AVFoundation/MediaPlayer
s.subspec 'AVMedia' do |ss|
ss.source_files = 'PSPhotos/AVMedia/*.{h,m}', 'PSPhotos/PSDefines.h'
ss.frameworks = 'AVFoundation', 'MediaPlayer', 'AVKit'
end
end