-
Notifications
You must be signed in to change notification settings - Fork 0
/
DVGSugar.podspec
33 lines (29 loc) · 1.13 KB
/
DVGSugar.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
Pod::Spec.new do |s|
s.name = "DVGSugar"
s.version = "0.0.20"
s.summary = "Collection of usefull microclasses"
s.homepage = "http://denivip.ru/"
s.license = 'GPL'
s.author = { 'DENIVIP' => '[email protected]' }
s.source = { :git => "https://github.com/denivip/DVGSugar.git" }
s.module_name = 'DVGSugar'
s.platform = :ios
s.ios.deployment_target = '8.0'
s.requires_arc = true
#s.ios.vendored_frameworks = '???.framework'
#s.ios.resources = 'Assets/*'
#s.ios.frameworks = 'UIKit'
s.dependency 'libextobjc'
# https://miqu.me/blog/2016/11/28/app-extensions-xcode-and-cocoapods-omg/
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
#core.public_header_files = 'ClassesCommon/*.{h}'
core.source_files = 'ClassesCommon/*.{m,h}'
end
s.subspec 'AppExtension' do |ext|
#ext.public_header_files = 'ClassesCommon/*.{h}'
ext.source_files = 'ClassesCommon/*.{m,h}'
# For app extensions, disabling code paths using unavailable API
ext.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'COMPILE_FOR_EXTENSION=1' }
end
end