ReactNativeNavigation.h file not found after updating react native version
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 38/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- react-native
- Área
- build-system, mobile
Línea de trabajo
Comienza reproduciendo el fallo de compilación de iOS e inspecciona el import de AppDelegate.m junto con la configuración de Podfile. Compara los puntos de integración de React Native 0.74.3 y 0.78 mencionados en el informe; se considera terminado cuando el header de ReactNativeNavigation se resuelve y la aplicación se compila correctamente para iOS.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened?
I've been tasked and I am working on updating the react native version of my application. After updating it all and making sure there are no other errors, when trying to build the app for iOS I am getting 'ReactNativeNavigation/ReactNativeNavigation.h' file not found in AppDelegate.m
I've looked around the github issues here and tried changing the podfile as suggested, but to no avail.
Heres the podfile:
# Resolve script with node to allow for hoisting
require Pod::Executable.execute_command('node', ['-p',
"require.resolve(
'#{script}',
{paths: [process.argv[1]]},
)", __dir__]).strip
end
#Use it to require both react-native's and this package's scripts:
node_require('react-native/scripts/react_native_pods.rb')
node_require('react-native-permissions/scripts/setup.rb')
platform :ios, '18.0'
prepare_react_native_project!
setup_permissions([
'AppTrackingTransparency',
# 'Bluetooth',
# 'Calendars',
# 'CalendarsWriteOnly',
'Camera',
# 'Contacts',
# 'FaceID',
# 'LocationAccuracy',
# 'LocationAlways',
# 'LocationWhenInUse',
'MediaLibrary',
'Microphone',
# 'Motion',
'Notifications',
'PhotoLibrary',
# 'PhotoLibraryAddOnly',
# 'Reminders',
# 'Siri',
# 'SpeechRecognition',
# 'StoreKit',
])
linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
use_frameworks! :linkage => linkage.to_sym
end
static_frameworks = [
'FirebaseCore',
'FirebaseCoreExtension',
'GoogleUtilities',
'FirebaseCoreInternal',
'FirebaseInstallations',
'GoogleDataTransport',
'FirebaseFirestoreInternal',
'FirebaseMessagingInternal',
'FirebaseAuth',
]
pre_install do |installer|
installer.pod_targets.each do |pod|
if static_frameworks.include?(pod.name)
puts "Configuring #{pod.name} as static framework"
def pod.build_type
Pod::BuildType.new(:linkage => :static, :packaging => :framework)
end
end
end
end
target 'myapp' do
config = use_native_modules!
$RNFirebaseAsStaticFramework = true
pod 'GoogleAnalytics'
pod 'FirebaseDatabase', :modular_headers => true
pod 'FirebaseABTesting', :modular_headers => true
pod 'FirebaseAppCheckInterop', :modular_headers => true
pod 'leveldb-library', :modular_headers => true
pod 'nanopb', :modular_headers => true
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
:hermes_enabled => true,
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
post_install do |installer|
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
react_native_post_install(
installer,
config[:reactNativePath],
:mac_catalyst_enabled => false,
# :ccache_enabled => true
)
end
end
What was the expected behaviour?
That the app correctly builds for iOS.
Was it tested on latest react-native-navigation?
- I have tested this issue on the latest react-native-navigation release and it still reproduces.
Help us reproduce this issue!
Started happening after updating from react-native 0.74.3 to 0.78
In what environment did this happen?
React Native Navigation version: 8.7.5
React Native version: 0.78
Has Fabric (React Native's new rendering system) enabled: (yes/no) No
Node version: 18.20.8
Device model: iPhone 17 Pro (emulator)
iOS version: 26.2
- Lenguaje dominante
- MDX
- Estrellas
- 13.2k
- Forks
- 2.6k
- Merge medio
- 2 d 10 h
- PR fusionados (30 d)
- 6
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de wix/react-native-navigation
-
needs triage triage: documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
wix/react-native-navigation#8343 · 1 comentario ·
-
[Fix] searchBar `focus:` true ignored on mergeOptions when searchController already existsPosiblemente ocupada @IsaacIsrael la tomó hace 157 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
wix/react-native-navigation#8318 ·
-
Build Failed with RN 0.87Abiertoneeds triage type: accepted/bug
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
wix/react-native-navigation#8365 · 2 comentarios ·
-
`showOverlay` creates a scene-less `UIWindow`, so overlays never appear under UIScene lifecyclePosiblemente ocupada @yedidyak la tomó hace 3 días. Abiertoplatform: iOS type: accepted/bug
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
wix/react-native-navigation#8345 · 2 comentarios · 2 reacciones ·
-
platform: iOS type: accepted/bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
wix/react-native-navigation#8340 ·
Todos los issues de wix/react-native-navigation
Issues similares
-
Build produces empty forge.min.js: package.json lists "forge" instead of "node-forge"Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
-
Sphinx docs build system should allow environment variable override of build configuration variablesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
-
Shell framework build fails at "copy the shader libraries": the iOS shader libraries are now one file b-<chain>.imgPosiblemente ocupada @xiaofeng-han la tomó hoy. Abiertobuild ios
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
0.kind: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día