Objective C Error 'RCTLinkingManager.h' file not found
Question
Upgrade React Native to 0.61.5 and import header files on iOS.
#import "RCTLinkingManager.h"
Xcode reports an error 'RCTLinkingManager.h' file not found
.
Solution
There are 2 ways to fix this error.
1. Modify header file references
1. Change the header file
// #import "RCTLinkingManager.h"
#import <React/RCTLinkingManager.h>
2. Add "Header Search Paths"
PROJECT -> Build Settings -> Search Path -> Header Search Paths,Add $(SRCROOT)/../node_modules/react-native/Libraries/LinkingIOS