-
Notifications
You must be signed in to change notification settings - Fork 12
/
Podfile
47 lines (38 loc) · 1.17 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
platform :ios, '13.0'
# ignore all warnings from all pods
inhibit_all_warnings!
use_frameworks!
def jsonvalue
pod 'JSONValueRX', '~> 8.0'
end
target 'AutoGraphQL' do
pod 'Alamofire', '~> 5.8.0'
# Starscream breaks semvar and we should likely move off of it anyway.
pod 'Starscream', '= 4.0.4'
jsonvalue
target 'AutoGraphTests' do
inherit! :complete
end
target 'QueryBuilderTests' do
inherit! :complete
end
end
target 'QueryBuilder' do
jsonvalue
end
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
if config.name.include?("Debug") or config.name.include?("Developer") or config.name.include?("Localhost")
config.build_settings['GCC_OPTIMIZATION_LEVEL'] = '0'
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)']
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] << 'DEBUG=1 RCT_DEBUG=1 RCT_DEV=1 RCT_NSASSERT=1'
end
end
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
end
end
end
end