Advertisement
Guest User

Untitled

a guest
Apr 8th, 2017
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Uncomment the next line to define a global platform for your project
  2. platform :ios, '9.0'
  3.  
  4. target 'zelosApp' do
  5.   # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  6.   # use_frameworks!
  7.  
  8.   pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga/Yoga.podspec'
  9.   pod 'React', path: '../node_modules/react-native', :subspecs => [
  10.     'Core',
  11.     'RCTActionSheet',
  12.     'RCTAnimation',
  13.     'RCTGeolocation',
  14.     'RCTImage',
  15.     'RCTLinkingIOS',
  16.     'RCTNetwork',
  17.     'RCTSettings',
  18.     'RCTText',
  19.     'RCTVibration',
  20.     'RCTWebSocket'
  21.   ]
  22.  
  23.   pod 'GoogleMaps'  # <~~ remove this line if you do not want to support GoogleMaps on iOS
  24.   pod 'react-native-maps', path: '../node_modules/react-native-maps'
  25.   pod 'react-native-google-maps', path: '../node_modules/react-native-maps' # <~~ if you need GoogleMaps support on iOS
  26.  
  27. end
  28.  
  29. post_install do |installer|
  30.   installer.pods_project.targets.each do |target|
  31.     if target.name == "react-native-google-maps"
  32.       target.build_configurations.each do |config|
  33.         config.build_settings['CLANG_ENABLE_MODULES'] = 'No'
  34.       end
  35.     end
  36.   end
  37. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement