-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathFaceUnity.podspec
43 lines (35 loc) · 1.4 KB
/
FaceUnity.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
Pod::Spec.new do |s|
s.name = 'FaceUnity'
s.version = '0.6.0'
s.license = 'MIT'
s.summary = 'iOS face-beautification toolkit built upon FaceUnity Nama SDK and FULiveDemo.'
s.homepage = 'https://github.com/ElfSundae/FaceUnity'
s.authors = { 'Elf Sundae' => 'https://0x123.com' }
s.social_media_url = 'https://twitter.com/ElfSundae'
s.source = { :git => 'https://github.com/ElfSundae/FaceUnity.git', :tag => s.version }
s.platform = :ios, '9.0'
s.static_framework = true
s.default_subspec = 'Lite'
s.subspec 'Core' do |ss|
ss.resources = 'FaceUnity/FULiveDemo/Config/*'
ss.resource_bundle = {
'FaceUnity' => 'FaceUnity/**/*.{xib,xcassets,lproj}'
}
ss.dependency 'ESFramework', '~> 3.20'
ss.dependency 'Masonry', '~> 1.1'
ss.dependency 'SVProgressHUD', '~> 2.2'
ss.dependency 'MJExtension', '~> 3.2'
end
# 相芯 SDK 的每个版本都有可能增加或删除美颜参数,为了防止不同的 Nama 版本所包含的
# 美颜参数和本库所支持的参数不一致,所以给 Nama 依赖指定一个确切的版本号。
s.subspec 'Lite' do |ss|
ss.source_files = 'FaceUnity/**/*.{h,m}'
ss.dependency 'FaceUnity/Core'
ss.dependency 'Nama-lite', '7.3.2'
end
s.subspec 'Full' do |ss|
ss.source_files = 'FaceUnity/**/*.{h,m}'
ss.dependency 'FaceUnity/Core'
ss.dependency 'Nama', '7.3.2'
end
end