Last active
March 14, 2019 06:10
-
-
Save jdnichollsc/a604fdbb2f6205607cb65d1964a77518 to your computer and use it in GitHub Desktop.
React Native Podfile configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Uncomment the next line to define a global platform for your project | |
platform :ios, '9.0' | |
target 'MyApp' do | |
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks | |
# use_frameworks! | |
pod 'React', :path => '../node_modules/react-native', :subspecs => [ | |
'Core', | |
'RCTActionSheet', | |
'RCTGeolocation', | |
'RCTImage', | |
'RCTLinkingIOS', | |
'RCTNetwork', | |
'RCTSettings', | |
'RCTText', | |
'RCTVibration', | |
'RCTWebSocket', | |
'CxxBridge', # Include this for RN >= 0.47 | |
'DevSupport' # Include this to enable In-App Devmenu if RN >= 0.43 | |
# Add any other subspecs you want to use in your project | |
] | |
# 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' | |
# Pods for MyApp | |
pod 'AppCenter/Push', '~> 1.8.0' | |
pod 'AppCenter/Crashes', '~> 1.8.0' | |
pod 'AppCenter/Analytics', '~> 1.8.0' | |
pod 'AppCenterReactNativeShared', '~> 1.7.1' | |
pod 'react-native-wkwebview', :path => '../node_modules/react-native-wkwebview-reborn' | |
target 'MyAppTests' do | |
inherit! :search_paths | |
# Pods for testing | |
end | |
end | |
# The following is needed to ensure the "archive" step works in XCode. | |
# It removes React from the Pods project, as it is already included in the main project. | |
post_install do |installer| | |
installer.pods_project.targets.each do |target| | |
if target.name == "React" | |
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
Accept license agreements from command line Mac