Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update default Podfile to not depend on a path #28572

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions template/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@

grabbou marked this conversation as resolved.
Show resolved Hide resolved
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '10.0'

target 'HelloWorld' do
# Pods for HelloWorld
use_react_native!
target 'RNTestProject' do
grabbou marked this conversation as resolved.
Show resolved Hide resolved
config = use_native_modules!

use_react_native!(:path => config["reactNativePath"])

target 'HelloWorldTests' do
target 'RNTestProjectTests' 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
Expand Down