/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/scripts/cocoapods/runtime.rb
18 строк
879 B
Arushi Kesarwani
Cocoapods changes for Bridgeless -> Runtime (#39299)
06 сен 2023, 11:28
06 сен 2023, 11:28
1e2af65
Код
Авторство
О чём код?
# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # Set up Bridgeless dependencies # # @parameter react_native_path: relative path to react-native def setup_bridgeless!(react_native_path: "../node_modules/react-native", use_hermes: true) pod "React-jsitracing", :path => "#{react_native_path}/ReactCommon/hermes/executor/" pod "React-runtimescheduler", :path => "#{react_native_path}/ReactCommon/react/renderer/runtimescheduler" pod 'React-RuntimeCore', :path => "#{react_native_path}/ReactCommon/react/runtime" pod 'React-RuntimeApple', :path => "#{react_native_path}/ReactCommon/react/runtime/platform/ios" if use_hermes pod 'React-RuntimeHermes', :path => "#{react_native_path}/ReactCommon/react/runtime" end end