-
Notifications
You must be signed in to change notification settings - Fork 25
/
Podfile
69 lines (54 loc) · 1.9 KB
/
Podfile
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
source 'https://github.com/CocoaPods/Specs.git'
source 'git@github.com:StandardCyborg/SCCocoaPods.git'
inhibit_all_warnings!
platform :osx, '11.0'
target 'StandardCyborgFusion' do
pod 'SSZipArchive'
pod 'scsdk', :path => 'scsdk/'
pod 'PoissonRecon', :podspec => 'StandardCyborgFusion/PoissonRecon.podspec'
platform :ios, '13.0'
end
# Sadly Cocoapods cant do both osx and ios in same target, so we have to make
# a separate one for OSX.
target 'StandardCyborgFusionOSX' do
pod 'SSZipArchive'
pod 'scsdk', :path => 'scsdk/'
pod 'PoissonRecon', :podspec => 'StandardCyborgFusion/PoissonRecon.podspec'
platform :osx, '11.0'
end
target 'StandardCyborgFusionTests' do
platform :osx, '11.0'
pod 'scsdk', :path => 'scsdk/'
end
target 'TrueDepthFusion' do
platform :ios, '13.0'
end
target 'VisualTesterMac' do
platform :osx, '11.0'
pod 'scsdk', :path => 'scsdk/'
end
target 'VisualTesteriOS' do
platform :ios, '13.0'
pod 'scsdk', :path => 'scsdk/'
end
target 'StandardCyborgAlgorithmsTestbed' do
platform :ios, '13.0'
pod 'scsdk', :path => 'scsdk/'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do | configuration |
configuration.build_settings['OTHER_CFLAGS'] = '-fembed-bitcode -Wno-shorten-64-to-32 -Wno-comma'
configuration.build_settings['OTHER_CPPFLAGS'] = '-Wno-shorten-64-to-32 -Wno-comma'
# Suppress warnings about upgrading project to automatically select architectures
configuration.build_settings.delete 'ARCHS'
# Update minimum deployment target
if configuration.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 13.0
configuration.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
end
if configuration.build_settings['MACOSX_DEPLOYMENT_TARGET'].to_f < 11.0
configuration.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '11.0'
end
end
end
end