файл карты модуля
'/Users/nathannewyen/Library/Developer/Xcode/DerivedData/ dormlist-cyvkwrbumwvlingrdiyrbmyubizc/Build/Products/Debug-iphonesimulator/FirebaseCoreInternal/FirebaseCoreInternal.modulemap'
не найден
Вот мой файл pod:< /p>
Код: Выделить всё
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
install! 'cocoapods', :deterministic_uuids => false
platform :ios, '14.0'
# Opt into generating module maps for all dependencies
use_modular_headers!
def common_pods
pod 'Firebase/Analytics', :modular_headers => true
pod 'Firebase/Auth', :modular_headers => true
pod 'Firebase/Firestore', :modular_headers => true
end
target 'dormlist' do
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
:hermes_enabled => true,
:fabric_enabled => false,
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
pod 'RNPermissions', :path => '../node_modules/react-native-permissions'
common_pods
end
target 'dormlist-prod' do
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
:hermes_enabled => true,
:fabric_enabled => false,
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
pod 'RNPermissions', :path => '../node_modules/react-native-permissions'
common_pods
end
post_install do |installer|
react_native_post_install(installer)
installer.pods_project.targets.each do |target|
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
end
end
end
Код: Выделить всё
rm -rf ~/Library/Developer/Xcode/DerivedData
rm -rf Pods Podfile.lock
pod install --repo-update

Я прикрепил дополнительные скриншоты, если кому-то понадобится, сборка не удалась
[img]https:// i.sstatic.net/ogOy4xA4.png[/img]
Итак, как мне решить эту проблему, какой шаг мне нужно предпринять и как мне к ней подойти?
Я попробовал другой подход, удалив папку DerivedData и снова переустановив модуль с помощью команды.
Я также изменяю фазу сборки в Xcode
модифицированный Podfile вперед и назад
Подробнее здесь: https://stackoverflow.com/questions/786 ... rnal-modul