Skip to content

Instantly share code, notes, and snippets.

@aravi365
Created April 13, 2020 05:22
Show Gist options
  • Save aravi365/d81fa288a8346eda703e87a4f734ac49 to your computer and use it in GitHub Desktop.
Save aravi365/d81fa288a8346eda703e87a4f734ac49 to your computer and use it in GitHub Desktop.
# Podfile content
source 'https://cdn.cocoapods.org/'
platform :ios, '9.0'
target 'iNTELLi' do
# React Native
rn_path = '../node_modules/react-native'
rn_maps_path = '../node_modules/react-native-maps'
pod 'yoga', :path => "#{rn_path}/ReactCommon/yoga"
pod 'RNSVG', :path => '../node_modules/react-native-svg'
pod 'RNFBApp', :path => '../node_modules/@react-native-firebase/app'
pod 'RNFBMessaging', :path => '../node_modules/@react-native-firebase/messaging'
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
pod 'React', path: "#{rn_path}", :subspecs => [
'Core',
'CxxBridge',
'RCTActionSheet',
'RCTAnimation',
'RCTGeolocation',
'RCTImage',
'RCTLinkingIOS',
'RCTNetwork',
'RCTSettings',
'RCTText',
'RCTVibration',
'RCTWebSocket',
'DevSupport'
]
pod 'DoubleConversion', :podspec => "#{rn_path}/third-party-podspecs/DoubleConversion.podspec"
pod 'glog', :podspec => "#{rn_path}/third-party-podspecs/glog.podspec"
pod 'Folly', :podspec => "#{rn_path}/third-party-podspecs/Folly.podspec"
# Required by Google Map, ignore if you use Apple Map
pod 'GoogleMaps', '2.5.0'
pod 'Google-Maps-iOS-Utils', '2.1.0'
pod 'GoogleUtilities', '5.3.7'
pod 'GoogleAppMeasurement', '5.4'
pod 'react-native-maps', path: rn_maps_path
pod 'react-native-google-maps', path: rn_maps_path # <~~ if you need GoogleMaps support on iOS
pod 'RNCAsyncStorage', :path => '../node_modules/@react-native-community/async-storage'
pod 'RNDeviceInfo', :path => '../node_modules/react-native-device-info'
pod 'RNKeychain', :path => '../node_modules/react-native-keychain'
pod 'RNSecureRandom', :path => '../node_modules/react-native-securerandom'
pod 'RNShare', :path => '../node_modules/react-native-share'
pod 'react-native-image-picker', :path => '../node_modules/react-native-image-picker'
pod 'react-native-image-resizer', :path => '../node_modules/react-native-image-resizer'
pod 'RNFS', :path => '../node_modules/react-native-fs'
pod 'RNScrypt', :path => '../node_modules/react-native-scrypt'
pod 'react-native-randombytes', :path => '../node_modules/react-native-randombytes'
pod 'RNOS', :path => '../node_modules/react-native-os'
pod 'TcpSockets', :path => '../node_modules/react-native-tcp'
pod 'react-native-udp', :path => '../node_modules/react-native-udp'
pod 'react-native-aes', :path => '../node_modules/react-native-aes-crypto'
pod 'BVLinearGradient', :path => '../node_modules/react-native-linear-gradient'
pod 'RNFBApp', :path => '../node_modules/@react-native-firebase/app'
pod 'RNFBMessaging', :path => '../node_modules/@react-native-firebase/messaging'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "react-native-google-maps"
target.build_configurations.each do |config|
config.build_settings['CLANG_ENABLE_MODULES'] = 'No'
end
end
if target.name == "React"
target.remove_from_project
end
targets_to_ignore = %w(React yoga)
if targets_to_ignore.include? target.name
target.remove_from_project
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment