-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathSingular-SDK.podspec
More file actions
40 lines (33 loc) · 1.43 KB
/
Singular-SDK.podspec
File metadata and controls
40 lines (33 loc) · 1.43 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
40
Pod::Spec.new do |spec|
spec.name = "Singular-SDK"
spec.version = "12.10.0"
spec.summary = "Singular's iOS SDK"
spec.description = "Singular's SDK integration for iOS"
spec.license = "MIT"
spec.homepage = "https://www.singular.net/"
spec.author = "Singular Labs"
spec.source = { :git => "https://github.com/singular-labs/Singular-iOS-SDK.git", :tag => spec.version.to_s }
spec.static_framework = true
spec.ios.deployment_target = "12.0"
spec.ios.frameworks = 'AdSupport', 'Security', 'SystemConfiguration', 'StoreKit', 'WebKit'
spec.ios.weak_framework = 'AdServices'
spec.ios.libraries = 'sqlite3.0', 'z'
spec.default_subspecs = 'Main'
spec.subspec 'Main' do |ss|
ss.ios.vendored_frameworks = 'Singular.xcframework'
ss.resource_bundles = {'Singular' => ['frameworks/Singular.framework/PrivacyInfo.xcprivacy']}
end
spec.subspec 'Legacy' do |ss|
ss.ios.vendored_frameworks = 'frameworks/Singular.framework'
ss.ios.source_files = 'headers/*.h'
ss.ios.resources = ['headers/*.js']
ss.pod_target_xcconfig = {
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
}
ss.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
ss.ios.pod_target_xcconfig = {
'FRAMEWORK_SEARCH_PATHS' => '$(inherited) $(PODS_ROOT)/Singular-SDK/frameworks/**',
'OTHER_LDFLAGS' => '$(inherited) -framework "Singular"'
}
end
end