Ошибка не удалось создать проект iOS. class = "Snippet">
Код: Выделить всё
require_relative '../node_modules/react-native/scripts/react_native_pods'
platform :ios, '15.1'
prepare_react_native_project!
use_modular_headers!
use_frameworks! :linkage => :static
target '#######' do
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
:app_path => "#{Pod::Config.instance.installation_root}/..",
:hermes_enabled => false,
:new_arch_enabled => false
)
post_install do |installer|
react_native_post_install(
installer,
config[:reactNativePath],
:mac_catalyst_enabled => false
)
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
end
end
end
end
также ошибки, такие как «error = non-modular-inplude-in-framework-module ...»
Подробнее здесь: https://stackoverflow.com/questions/796 ... act-native