-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<React/RCTBridgeModule.h> file not found #415
Comments
same problem |
Hey, instead of opening the project under the ios folder, you need to open the Closing the issue. If this doesn't fix it, please open it back again. |
example project success,but pod lib lint fial; |
I'm not entirely sure what's going wrong with the pod lib lint. But in this case, I would say you can ignore it if the example app works as expected. I know this would mean you cannot use pod lib lint on CI tho. |
pod repo push Will also;Cannot ignore,Unable to publish |
Do you need to publish the repository? You can still install it to apps without publishing the pod. I know this is not a solution. Just want to make sure I'm aligned |
I'm also facing same like issue please help and guide me thanks, RNAudioRecorderPlayer.m:1:9 'React/RCTBridgeModule.h' file not found |
I has same issue |
Description
I have created iOS native module for swift using command
npx create-react-native-library@latest react-native-awesome-module
and build the iOS project under
react-native-awesome-module/iOS
but its giving error like
<React/RCTBridgeModule.h>
file not foundOn the opposite side , iOS native module created with Objective C is working fine.
Steps to reproduce
Packages
Selected options
What is the name of npm package? => react-native-awesome-module
What is the description for the package? => Example Module for iOS and Android
What is the name of package author? =>example
What is the email address for the package author? => temp
What is the URL for the package author? =>demo
What is the URL for the repository? =>demo
Which language do you want to use? => Android: Kotlin, iOS: Swift
Link to repro
No response
Environment
Output of npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 13.4
CPU: (10) arm64 Apple M1 Pro
Memory: 2.40 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 19.9.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 9.6.3 - /opt/homebrew/bin/npm
Watchman: 2023.04.10.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.12.1 - /Users/sneha/.rvm/gems/ruby-2.7.6/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: Not Found
react-native: ^0.71.6 => 0.71.6
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
info React Native v0.72.1 is now available (your project is running on v0.71.6).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.72.1
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.71.6
info For more info, check out "https://reactnative.dev/docs/upgrading".
The text was updated successfully, but these errors were encountered: