I follow this tutorial https://www.raywenderlich.com/126063/react-native-tutorial
and decided to start from scratch after problems arose.
I started react-native init PropertyFinderand opened the project in Xcode. When I compile and run it, it opens in the Simulator, as expected:

but soon after that the screen disappears and shows this:

Error text:
Unable to execute JS call: __fbBatchedBridge is undefined
It worked less than 24 hours ago, so it’s not sure what is going on. Fwiw, I completely deleted the project and started again.
This answer ( Unable to make a JS call: __fbBatchedBridge - undefined ) suggests checking his code selection by wire. This does not mean that this is not a problem.
The full code in the App Delegate is as follows:
#import "AppDelegate.h"
#import "RCTRootView.h"
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
NSURL *jsCodeLocation;
jsCodeLocation = [NSURL URLWithString:@"http://localhost:8081/index.ios.bundle?platform=ios&dev=true"];
RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
moduleName:@"PropertyFinder"
initialProperties:nil
launchOptions:launchOptions];
rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
UIViewController *rootViewController = [UIViewController new];
rootViewController.view = rootView;
self.window.rootViewController = rootViewController;
[self.window makeKeyAndVisible];
return YES;
}
@end