Skip to content

Instantly share code, notes, and snippets.

@patissier-boulanger
Created March 15, 2022 06:26
Show Gist options
  • Save patissier-boulanger/1ebeeb19557f16d73de7640b91225a88 to your computer and use it in GitHub Desktop.
Save patissier-boulanger/1ebeeb19557f16d73de7640b91225a88 to your computer and use it in GitHub Desktop.
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '11.0'
project 'multipleTarget',
'Dev.Debug' => :debug,
'Dev.Release' => :release,
target 'multipleTarget' do
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => false
)
end
target 'newTarget' do
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => false
)
end
post_install do |installer|
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment