Skip to content

Instantly share code, notes, and snippets.

@mactive
Created November 8, 2018 06:55
Show Gist options
  • Save mactive/30db13442af9b674db5667449eee3cf5 to your computer and use it in GitHub Desktop.
Save mactive/30db13442af9b674db5667449eee3cf5 to your computer and use it in GitHub Desktop.
podfile on reactnative 0.57.4
platform :ios, '9.0'
target :bee_shell do
# React Native libraries
pod 'React', :path => '../node_modules/react-native', :subspecs => [
'Core',
'CxxBridge', # Include this for RN >= 0.47
'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
'RCTText',
'RCTNetwork',
'RCTWebSocket', # Needed for debugging
'RCTAnimation', # Needed for FlatList and animations running on native UI thread
'RCTActionSheet',
'RCTGeolocation',
'RCTImage',
'RCTNetwork',
'RCTSettings',
'RCTVibration',
'RCTLinkingIOS'
]
# Explicitly include Yoga if you are using RN >= 0.42.0
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
# Third party deps podspec link
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
# pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
# pod 'react-native-video', :path => '../node_modules/@mfe/react-native-video'
# pod 'react-native-orientation', :path => '../node_modules/react-native-orientation'
# pod 'RNSVG', :path => '../node_modules/react-native-svg'
pod 'Imagepicker', :path => '../node_modules/@mfe/beeshell/natives/Imagepicker'
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['GCC_TREAT_WARNINGS_AS_ERRORS'] = 'NO'
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment