-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
33 lines (27 loc) · 901 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
33
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'MergeableLibDemo' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
pod 'Alamofire'
# Pods for MergeableLibDemo
target 'MergeableLibDemoTests' do
inherit! :search_paths
# Pods for testing
end
target 'MergeableLibDemoUITests' do
# Pods for testing
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
puts "target - #{target.name}"
target.build_configurations.each do |config|
## These excluded arch settings are required to compile the project
## for simulators on M1 macs
config.build_settings['EXCLUDED_ARCHS[sdk=iphoneos*]'] = 'armv7'
config.build_settings['MERGEABLE_LIBRARY'] = 'YES'
config.build_settings['ONLY_ACTIVE_ARCH'] = 'YES'
end
end
end