-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMMMCommonCore.podspec
More file actions
39 lines (32 loc) · 1.13 KB
/
MMMCommonCore.podspec
File metadata and controls
39 lines (32 loc) · 1.13 KB
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
#
# MMMCommonCore. Part of MMMTemple.
# Copyright (C) 2015-2026 Monks. All rights reserved.
#
Pod::Spec.new do |s|
s.name = "MMMCommonCore"
s.version = "1.17.0"
s.summary = "Small bits and pieces reused in many pods from MMMTemple"
s.description = s.summary
s.homepage = "https://github.com/mediamonks/#{s.name}"
s.license = "MIT"
s.authors = "Monks"
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 = '4.0'
s.tvos.deployment_target = '14.0'
s.subspec 'ObjC' do |ss|
ss.source_files = [ "Sources/#{s.name}ObjC/*.{h,m}" ]
ss.exclude_files = [ "Sources/#{s.name}ObjC/include/#{s.name}ObjC.h" ]
end
s.static_framework = true
s.subspec 'Swift' do |ss|
ss.source_files = [ "Sources/#{s.name}/*.swift" ]
ss.dependency "#{s.name}/ObjC"
end
s.test_spec 'Tests' do |ss|
ss.source_files = "Tests/*.{m,swift}"
# Well, it does not, but otherwise we cannot override any settings (e.g. excluded archs for M1) via Podfile,
# because there won't be a target corresponding to the app host.
ss.requires_app_host = true
end
end