-
Notifications
You must be signed in to change notification settings - Fork 1
/
MMMLoadable.podspec
48 lines (41 loc) · 1.27 KB
/
MMMLoadable.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
48
#
# MMMLoadable. Part of MMMTemple.
# Copyright (C) 2015-2022 MediaMonks. All rights reserved.
#
Pod::Spec.new do |s|
s.name = "MMMLoadable"
s.version = "2.2.2"
s.summary = "A simple model for async calculations"
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.ios.deployment_target = '14.0'
s.watchos.deployment_target = '6.0'
s.tvos.deployment_target = '13.0'
s.subspec 'ObjC' do |ss|
ss.source_files = [ "Sources/#{s.name}ObjC/*.{h,m}" ]
ss.dependency 'MMMCommonCore/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'
ss.dependency 'MMMLog'
ss.dependency 'MMMObservables'
end
s.test_spec 'Tests' do |ss|
ss.ios.deployment_target = '11.0'
ss.source_files = "Tests/*.{m,swift}"
ss.requires_app_host = true
end
s.default_subspec = 'ObjC', 'Swift'
end