@@ -5,9 +5,10 @@ platform :ios, '8.0'
5
5
6
6
# Change 'AirMapsExplorer' to match the target in your Xcode project.
7
7
target 'AirMapsExplorer' do
8
+ rn_path = '../../node_modules/react-native'
8
9
9
- pod 'Yoga' , : path => '../../node_modules/react-native/ ReactCommon/yoga/Yoga.podspec'
10
- pod 'React' , path : '../../node_modules/react-native' , : subspecs => [
10
+ pod 'Yoga' , path : " #{ rn_path } / ReactCommon/yoga/Yoga.podspec"
11
+ pod 'React' , path : rn_path , subspecs : [
11
12
'Core' ,
12
13
'RCTActionSheet' ,
13
14
'RCTAnimation' ,
@@ -22,16 +23,14 @@ target 'AirMapsExplorer' do
22
23
'BatchedBridge'
23
24
]
24
25
25
- pod 'GoogleMaps' # <~~ remove this line if you do not want to support GoogleMaps on iOS
26
+ pod 'GoogleMaps' # Remove this line if you don't want to support GoogleMaps on iOS
26
27
pod 'react-native-maps' , path : '../../'
27
- pod 'react-native-google-maps' , path : '../../' # <~~ if you need GoogleMaps support on iOS
28
-
28
+ pod 'react-native-google-maps' , path : '../../' # If you need GoogleMaps support on iOS
29
29
end
30
30
31
-
32
31
post_install do |installer |
33
32
installer . pods_project . targets . each do |target |
34
- if target . name == " react-native-google-maps"
33
+ if target . name == ' react-native-google-maps'
35
34
target . build_configurations . each do |config |
36
35
config . build_settings [ 'CLANG_ENABLE_MODULES' ] = 'No'
37
36
end
0 commit comments