-
Notifications
You must be signed in to change notification settings - Fork 1
/
ProtonCore-GoLibs.podspec
36 lines (26 loc) · 1.01 KB
/
ProtonCore-GoLibs.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
require_relative 'pods_configuration'
Pod::Spec.new do |s|
s.name = 'ProtonCore-GoLibs'
s.module_name = 'ProtonCoreGoLibs'
s.version = $version
s.summary = 'shared frameworks'
s.description = <<-DESC
ios shared frameworks for all client apps
DESC
s.homepage = $homepage
s.license = $license
s.author = $author
s.source = $source
s.ios.deployment_target = $ios_deployment_target
s.osx.deployment_target = $macos_deployment_target
s.swift_versions = $swift_versions
s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' }
make_subspec = ->(spec, crypto) {
spec.subspec "#{crypto_subspec(crypto)}" do |subspec|
subspec.source_files = "libraries/GoLibs/Sources/*.swift"
subspec.vendored_frameworks = "#{crypto_xcframework(crypto)}"
end
}
make_all_go_variants(make_subspec, s)
no_default_subspecs(s)
end