-
Notifications
You must be signed in to change notification settings - Fork 1
/
Podfile
32 lines (27 loc) · 1021 Bytes
/
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
# Uncomment this line to define a global platform for your project
$iOSVersion = '12.0'
platform :ios, $iOSVersion
target 'VinliSDK' do
pod 'jetfire'
pod 'CocoaAsyncSocket'
end
target 'VinliSDKTests' do
pod 'OCMock'
end
# ignore all warnings from all pods
inhibit_all_warnings!
post_install do |installer|
# Change project settings
installer.pods_project.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = $iOSVersion
config.build_settings['EXCLUDED_ARCHS'] = 'x86_64'
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64 arm64e'
end
# Change target settings
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
# config.build_settings["EXCLUDED_ARCHS"] = "armv7"
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = $iOSVersion
end
end
end