react-native: 'RCTAppDelegate.h' file not found on IOS
Old Version
0.67.2
New Version
0.71.0
Description
I had upgrade my React native project recently and getting an error that
#import <RCTAppDelegate.h> and tried various solutions as given on delete Derived data POd delete, podlock delete but nothing worked
Steps to reproduce
Simply upgrade project and check in the appdelegate.h file as it’s already in the pods
Affected Platforms
Runtime - iOS
Output of npx react-native info
npm run ios
Stacktrace or Logs
In file included from /Users/puneet/Desktop/deploy/mindowmobileapp/ios/mindow/AppDelegate.mm:1:
/Users/puneet/Desktop/deploy/mindowmobileapp/ios/mindow/AppDelegate.h:1:9: fatal error: 'RCTAppDelegate.h' file not found
#import <RCTAppDelegate.h>
^~~~~~~~~~~~~~~~~~
1 error generated.
/Users/puneet/Desktop/deploy/mindowmobileapp/ios/mindow/AppDelegate.h:1:9: 'RCTAppDelegate.h' file not found
Reproducer
NA
Screenshots and Videos
No response
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 3
- Comments: 16 (1 by maintainers)
Do you have the
RCTAppDelegate.hfile? As it seems like this should be calledAppDelegate.hinsteadSame here!
@joaoveronezi resolved having some issue in the frameworks and caches
same issue XCode 16.3 React native 0.74, 3 days of trying no luck 😦