-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathMapboxVisionAll.podspec
53 lines (37 loc) · 2.12 KB
/
MapboxVisionAll.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 = "MapboxVisionAll"
s.version = "0.14.0"
s.summary = "ML empowered vision framework"
s.homepage = 'https://www.mapbox.com/vision/'
s.license = { :type => "CUSTOM", :file => "LICENSE.md" }
s.author = { 'Mapbox' => 'mobile@mapbox.com' }
s.social_media_url = 'https://twitter.com/mapbox'
s.documentation_url = 'https://www.mapbox.com/vision/'
s.platform = :ios
s.ios.deployment_target = '11.2'
s.source = { :git => "https://github.com/mapbox/mapbox-vision-ios.git", :tag => "v#{s.version}" }
s.requires_arc = true
s.swift_version = '4.2'
s.default_subspec = "Vision", "AR", "Safety"
s.subspec 'Vision' do |vision|
vision.dependency "MapboxVision", "#{s.version}"
vision.pod_target_xcconfig = {
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => '$(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT)__XCODE_$(XCODE_VERSION_MAJOR))',
'EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64__XCODE_1200' => 'arm64 arm64e armv7 armv7s armv6 armv8'
}
end
s.subspec 'AR' do |ar|
ar.dependency "MapboxVisionAR", "#{s.version}"
ar.pod_target_xcconfig = {
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => '$(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT)__XCODE_$(XCODE_VERSION_MAJOR))',
'EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64__XCODE_1200' => 'arm64 arm64e armv7 armv7s armv6 armv8'
}
end
s.subspec 'Safety' do |safety|
safety.dependency "MapboxVisionSafety", "#{s.version}"
safety.pod_target_xcconfig = {
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => '$(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT)__XCODE_$(XCODE_VERSION_MAJOR))',
'EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64__XCODE_1200' => 'arm64 arm64e armv7 armv7s armv6 armv8'
}
end
end