RCT Linking Manager file not found

Anyone who is facing this issue for a react-native archive for ios platform just place

#import <React/RCTLinkingManager.h>" 

after the first line

"#import "AppDelegate.h"" in the AppDelegate.m file.

I had a similar issue only when I've done the archive/release version... that happen because the import was made under the #if DEBUG. So make sure you put the import in the proper place otherwise you can get Use of undeclared identifier 'RCTLinkingManager' error


Kindly make sure that you place the

#import <React/RCTLinkingManager.h>

in the Appdelegate.m file above the

#ifdef FB_SONARKIT_ENABLED

it worked for us.


You have to add $(SRCROOT)/../node_modules/react-native/Libraries/LinkingIOS to your "Header Search Paths" in the Build Config of your project. You can find more info on the official React documentation