forked from remind101/AutoGraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
37 lines (30 loc) · 887 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
34
35
36
37
platform :ios, '10.0'
# ignore all warnings from all pods
inhibit_all_warnings!
use_frameworks!
def jsonvalue
pod 'JSONValueRX', '~> 7.0'
end
target 'AutoGraphQL' do
pod 'Alamofire', '~> 5.0.5'
pod 'Starscream', '~> 4.0.0'
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
end