Created
March 15, 2022 06:26
-
-
Save patissier-boulanger/1ebeeb19557f16d73de7640b91225a88 to your computer and use it in GitHub Desktop.
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
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