It seemed easy, but it wasn’t obvious how to fix this error. It was about a renamed config file though.
Press enter or click to view image in full size
If you ever encountered this error, or “ReactNativeConfig/ReactNativeConfig.h’ file not found error after trying to import it in your AppDelegate.m file, all you need to do it a renaming operation.
Use `#import “RNCConfig.h”` instead of the old import statement (#import ReactNativeConfig/ReactNativeConfig.h)
When you attempt to read the env variable, use `RNCConfig envFor` instead of `ReactNativeConfig envFor`. Example: `NSString *mapsApiKey = [RNCConfig envFor:@”GOOGLE_MAPS_API_KEY”];`