-
Notifications
You must be signed in to change notification settings - Fork 2
/
MMMCommonUI.podspec
47 lines (40 loc) · 1.21 KB
/
MMMCommonUI.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
#
# MMMCommonUI. Part of MMMTemple.
# Copyright (C) 2015-2020 MediaMonks. All rights reserved.
#
Pod::Spec.new do |s|
s.name = "MMMCommonUI"
s.version = "3.13.0"
s.summary = "Small UI-related pieces reused in many components from MMMTemple"
s.description = "#{s.summary}."
s.homepage = "https://github.com/mediamonks/#{s.name}"
s.license = "MIT"
s.authors = "MediaMonks"
s.source = { :git => "https://github.com/mediamonks/#{s.name}.git", :tag => s.version.to_s }
s.platform = :ios
s.ios.deployment_target = '11.0'
s.subspec 'ObjC' do |ss|
ss.source_files = [ "Sources/#{s.name}ObjC/*.{h,m}" ]
ss.dependency 'MMMCommonCore', '~> 1.15'
ss.dependency 'MMMLoadable/ObjC'
ss.dependency 'MMMLog/ObjC'
ss.dependency 'MMMObservables/ObjC'
end
s.swift_versions = '4.2'
s.static_framework = true
s.pod_target_xcconfig = {
"DEFINES_MODULE" => "YES"
}
s.subspec 'Swift' do |ss|
ss.source_files = [ "Sources/#{s.name}/*.swift" ]
ss.dependency "#{s.name}/ObjC"
ss.dependency 'MMMCommonCore', '~> 1.15'
ss.dependency 'MMMLoadable'
ss.dependency 'MMMLog'
ss.dependency 'MMMObservables'
end
s.test_spec 'Tests' do |ss|
ss.source_files = "Tests/*.{m,swift}"
end
s.default_subspec = 'ObjC', 'Swift'
end