// Set up a root view using the bridge defined above
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
moduleName:@"AwesomeProject"
initialProperties:nil];
instead of
// Set up a root view using the bridge defined above
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
moduleName:@"AwesomeProject"];
This resolves the error No visible @interface for 'RCTRootView' declares the selector....
It seems that wiki page Quick Start should be updated because of breaking changes in React Native v0.11.0-rc regarding additional argument to RCTRootView's initializer.
In file
AppDelegate.m
there should beinstead of
This resolves the error
No visible @interface for 'RCTRootView' declares the selector...
.