forked from QMUI/LookinServer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LookinServer.podspec
32 lines (30 loc) · 1.25 KB
/
LookinServer.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
Pod::Spec.new do |spec|
spec.name = "LookinServer"
spec.version = "1.1.5"
spec.summary = "The iOS framework of Lookin."
spec.description = "Embed this framework into your iOS project to enable Lookin mac app."
spec.homepage = "https://lookin.work"
spec.license = "GPL-3.0"
spec.author = { "Li Kai" => "[email protected]" }
spec.ios.deployment_target = "9.0"
spec.tvos.deployment_target = '9.0'
spec.default_subspecs = 'Core'
spec.source = { :git => "https://github.com/QMUI/LookinServer.git", :tag => "1.1.5"}
spec.framework = "UIKit"
spec.requires_arc = true
spec.subspec 'Core' do |ss|
ss.source_files = ['Src/Main/**/*', 'Src/Base/**/*']
ss.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) SHOULD_COMPILE_LOOKIN_SERVER=1',
'SWIFT_ACTIVE_COMPILATION_CONDITIONS' => '$(inherited) SHOULD_COMPILE_LOOKIN_SERVER'
}
end
spec.subspec 'Swift' do |ss|
ss.dependency 'LookinServer/Core'
ss.source_files = 'Src/Swift/**/*'
ss.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) LOOKIN_SERVER_SWIFT_ENABLED=1',
'SWIFT_ACTIVE_COMPILATION_CONDITIONS' => '$(inherited) LOOKIN_SERVER_SWIFT_ENABLED'
}
end
end