Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 17237

iOS fails to run on version 0.73.1, 'react/debug/react_native_assert.h' file not found on RunLoopObserver

$
0
0

enter image description here

I get the error: 'react/debug/react_native_assert.h' file not found, React-utils/RunLoopObserver. any help is appreciated.

Here is my pod file

require Pod::Executable.execute_command('node', ['-p','require.resolve("react-native/scripts/react_native_pods.rb",    {paths: [process.argv[1]]},  )', __dir__]).stripplatform :ios, min_ios_version_supportedprepare_react_native_project!pod 'react-native-video', :path => '../node_modules/react-native-video/react-native-video.podspec'pod 'RNPermissions', :path => '../node_modules/react-native-permissions'pod 'ffmpeg-kit-react-native', :subspecs => ['min-gpl-lts'], :podspec => '../node_modules/ffmpeg-kit-react-native/ffmpeg-kit-react-native.podspec'permissions_path = '../node_modules/react-native-permissions/ios'pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications"pod 'Permission-Camera', :path => "#{permissions_path}/Camera"pod 'Permission-Microphone', :path => "#{permissions_path}/Microphone"pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary"flipper_config = FlipperConfiguration.disabledlinkage = ENV['USE_FRAMEWORKS']abstract_target 'CommonPods' do  config = use_native_modules!  use_frameworks! :linkage => :static  $RNFirebaseAsStaticFramework = true  pod 'RNCPushNotificationIOS', :path => '../node_modules/@react-native-community/push-notification-ios'  use_react_native!(    :path => config[:reactNativePath],    :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    )     installer.pods_project.targets.each do |target|       target.build_configurations.each do |config|         config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'         config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'         if ["React-cxxreact", "React-NativeModulesApple", "RNGestureHandler", "RNScreens", "React-utils", "React-debug", "React-runtimescheduler"].any? { |t| t == target.name }           append_header_search_path(target, "${PODS_ROOT}/../../node_modules/react-native/ReactCommon")         end       end     end   end    def append_header_search_path(target, path)        target.build_configurations.each do |config|            config.build_settings["HEADER_SEARCH_PATHS"] ||= "$(inherited) "            config.build_settings["HEADER_SEARCH_PATHS"] << path        end    end    pod 'Firebase'    pod 'FirebaseCore'    pod 'FirebaseCoreInternal'    pod 'FirebaseCoreExtension'    pod 'FirebaseInstallations'    pod 'FirebaseABTesting'    pod 'FirebaseFirestoreInternal'    pod 'GoogleUtilities'    pod 'GoogleDataTransport'    pod 'nanopb'    target 'Dev' do    end    target 'QA' do    endend

HERE IS THE RN-INFO

System:OS: macOS 14.1CPU: (10) arm64 Apple M1 ProMemory: 78.05 MB / 16.00 GBShell:version: "5.9"path: /bin/zshBinaries:Node:version: 20.5.1path: /opt/homebrew/bin/nodeYarn:version: 1.22.18path: /opt/homebrew/bin/yarnnpm:version: 9.8.0path: /opt/homebrew/bin/npmWatchman:version: 2023.08.14.00path: /opt/homebrew/bin/watchmanManagers:CocoaPods:version: 1.14.3path: /opt/homebrew/opt/ruby/bin/podSDKs:iOS SDK:Platforms:- DriverKit 23.0- iOS 17.0- macOS 14.0- tvOS 17.0- watchOS 10.0Android SDK:API Levels:- "28"- "29"- "30"- "31"- "32"- "33"Build Tools:- 29.0.2- 30.0.2- 30.0.3- 31.0.0- 32.0.0- 32.1.0- 33.0.0- 33.0.2System Images:- android-32 | Google APIs ARM 64 v8a- android-32 | Google APIs Intel x86 Atom_64- android-33 | Google APIs ARM 64 v8aAndroid NDK: 22.1.7171670IDEs:Android Studio: 2022.3 AI-223.8836.35.2231.10811636Xcode:version: 15.0/15A240dpath: /usr/bin/xcodebuildLanguages:Java:version: 1.8.0_292path: /usr/bin/javacRuby:version: 3.2.2path: /opt/homebrew/opt/ruby/bin/rubynpmPackages:"@react-native-community/cli": Not Foundreact: Not Foundreact-native: Not Foundreact-native-macos: Not FoundnpmGlobalPackages:"react-native": Not FoundAndroid:hermesEnabled: truenewArchEnabled: falseiOS:hermesEnabled: truenewArchEnabled: false


Viewing all articles
Browse latest Browse all 17237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>