/
StackModules.podspec
53 lines (42 loc) · 1.8 KB
/
StackModules.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
49
50
51
52
53
Pod::Spec.new do |s|
s.name = "StackModules"
s.version = "1.1.6"
s.summary = "Supported modules for Stack iOS products"
s.description = <<-DESC
Supported modules for Stack iOS products. Used in Appodeal, BidMachine and DataCore
DESC
s.homepage = "http://www.appodeal.com"
s.license = { :type => 'GPL 3.0', :file => 'LICENSE' }
s.author = { "Stack" => "http://www.explorestack.com" }
s.platform = :ios, '9.0'
s.source = { :http => "https://s3-us-west-1.amazonaws.com/appodeal-ios/StackModules/#{s.version}/StackModules.zip" }
s.default_subspec = "StackProductPresentation"
s.static_framework = true
s.swift_versions = "4.0", "4.2", "5.0"
s.subspec 'StackFoundation' do |ss|
ss.vendored_frameworks = 'StackFoundation.xcframework'
ss.library = 'z'
ss.frameworks = 'SafariServices', 'StoreKit', 'WebKit', 'CoreTelephony', 'SystemConfiguration', 'AdSupport', 'CoreLocation', 'MobileCoreServices', 'AVFoundation', 'AudioToolbox'
end
s.subspec 'StackUIKit' do |ss|
ss.vendored_frameworks = 'StackUIKit.xcframework'
ss.dependency'StackModules/StackFoundation'
end
s.subspec 'StackProductPresentation' do |ss|
ss.vendored_frameworks = 'StackProductPresentation.xcframework'
ss.source_files = "Dummy.swift"
ss.dependency'StackModules/StackUIKit'
end
s.pod_target_xcconfig = {
"VALID_ARCHS": "arm64 armv7 armv7s x86_64",
"VALID_ARCHS[sdk=iphoneos*]": "arm64 armv7 armv7s",
"VALID_ARCHS[sdk=iphonesimulator*]": "x86_64",
"OTHER_LDFLAGS": '-lObjC'
}
s.user_target_xcconfig = {
"VALID_ARCHS": "arm64 armv7 armv7s x86_64",
"VALID_ARCHS[sdk=iphoneos*]": "arm64 armv7 armv7s",
"VALID_ARCHS[sdk=iphonesimulator*]": "x86_64",
"OTHER_LDFLAGS": '-lObjC'
}
end