diff --git a/template/ios/Podfile b/template/ios/Podfile index d6f78d75e05171..6e1ebd6181167f 100644 --- a/template/ios/Podfile +++ b/template/ios/Podfile @@ -4,16 +4,15 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ platform :ios, '10.0' target 'HelloWorld' do - # Pods for HelloWorld - use_react_native! + config = use_native_modules! + + use_react_native!(:path => config["reactNativePath"]) target 'HelloWorldTests' do inherit! :complete # Pods for testing end - use_native_modules! - # Enables Flipper. # # Note that if you have use_frameworks! enabled, Flipper will not work and