'React/RCTEventDispatcherProtocol.h' file not found

See original GitHub issue

Summary

After I added “expo-web-browser” module, the error showed up after a “pod install” from ios folder.

Managed or bare workflow? If you have ios/ or android/ directories in your project, the answer is bare!

bare

What platform(s) does this occur on?

iOS

SDK Version (managed workflow only)

41.0.1

Environment

Expo CLI 4.11.0 environment info: System: OS: macOS 11.6 Shell: 5.8 - /bin/zsh Binaries: Node: 15.8.0 - ~/.nvm/versions/node/v15.8.0/bin/node Yarn: 1.22.10 - /usr/local/bin/yarn npm: 7.5.1 - ~/.nvm/versions/node/v15.8.0/bin/npm Watchman: 2021.11.15.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.10.1 - /Users/davidfabreguette/.rvm/rubies/ruby-2.7.3/bin/pod SDKs: iOS SDK: Platforms: iOS 15.0, DriverKit 20.4, macOS 11.3, tvOS 15.0, watchOS 8.0 IDEs: Xcode: 13.0/13A233 - /usr/bin/xcodebuild npmPackages: @expo/webpack-config: ^0.15.0 => 0.15.0 expo: ~41.0.1 => 41.0.1 react: 16.13.1 => 16.13.1 react-dom: 16.13.1 => 16.13.1 react-native: ~0.63.4 => 0.63.4 react-native-web: ^0.13.12 => 0.13.18 npmGlobalPackages: expo-cli: 4.11.0 Expo Workflow: bare

Reproducible demo or steps to reproduce from a blank project

  1. I added ‘expo-web-browser’ npm module with a “yarn add”
  2. I ran “pod install” from ios folder
  3. I cleaned up build folders with xcode
  4. I ran the app with xcode
  5. I encountered the following error : ‘React/RCTEventDispatcherProtocol.h’ file not found
Capture d’écran 2021-11-22 à 12 37 39

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
byCedriccommented, Nov 22, 2021

It should update the version if you have it installed already, but removing it and installing again should work too

0reactions
dfabreguettecommented, Nov 23, 2021

@byCedric yes sorry for the delay ! I had to downgrade back to SDK41, uninstall / reinstall expo-web-browser module and it worked ! Thanks for your time !

Read more comments on GitHub >

github_iconTop Results From Across the Web

'React/RCTEventDispatcher.h' file not found #299 - GitHub
Here what I found I use expo and eject it. react-native link works fine pod install works fine Already did config the scheme...
Read more >
Integrating existing app iOS 'React ... - Stack Overflow
1- delete the app from my iPhone simulator and then go to Hardware -> Erase all content & settings. 2- delete all your...
Read more >
“React/RCTLog.h file not found” an… | Apple Developer Forums
Yesterday, I installed Cocoapods, Yarn, React Native, and other programs because I had the errors listed on this page, which are reproduced below....
Read more >
React Native SDK Troubleshooting - Visual Studio App Center
h' file not found. This error appears when RN core libraries aren't referenced correctly, which can be caused by different kinds of integrating ......
Read more >
“React/RCTEventDispatcherProtocol.h“ file not found
"React/RCTEventDispatcherProtocol.h" file not found. ... 在Xcode中,将"React/RCTEventDispatcherProtocol.h" 改成"React/RCTEventDispatcher.h" ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found