From 6853b9bdfac367bea72dd2e5c20bca12573de343 Mon Sep 17 00:00:00 2001 From: Kevin Gozali Date: Thu, 4 Jul 2019 11:17:06 -0700 Subject: [PATCH] Fixed iOS Podfile template to add React-CoreModules and its deps Summary: With React-CoreModules separated from React-Core, the Podfile needs updating to sync with https://github.com/facebook/react-native/blob/master/scripts/autolink-ios.rb See https://github.com/facebook/react-native/commit/fde8a4cf93d3e5a8ccfe11394883be94d08da372 for the original change. Note: the template Podfile should be updated to use the same autolink scripts This fixes the CI failure like this: https://circleci.com/gh/facebook/react-native/99956 Reviewed By: hramos Differential Revision: D16114264 fbshipit-source-id: d75dff570310f21eb8fbdf030439532a0abe978d --- template/ios/Podfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/template/ios/Podfile b/template/ios/Podfile index 0fa914aed2..3216235617 100644 --- a/template/ios/Podfile +++ b/template/ios/Podfile @@ -3,8 +3,12 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ target 'HelloWorld' do # Pods for HelloWorld + pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector" + pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec" + pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired" pod 'React', :path => '../node_modules/react-native/' pod 'React-Core', :path => '../node_modules/react-native/React' + pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules' pod 'React-DevSupport', :path => '../node_modules/react-native/React' pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS' pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation' @@ -16,11 +20,14 @@ target 'HelloWorld' do pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text' pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration' pod 'React-RCTWebSocket', :path => '../node_modules/react-native/Libraries/WebSocket' + pod 'React-TypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety" pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact' + pod 'React-jscallinvoker', :path => "../node_modules/react-native/ReactCommon/jscallinvoker" pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi' pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor' pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector' + pod 'React-turbomodule-core', :path => "../node_modules/react-native/ReactCommon/turbomodule/core" pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga' pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'