-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Description
I'm trying to integrate this into an existing project. I successfully did this with a project generated from a template from XCode, so not sure what's going on.
I added ReactKit, linked with it, and started the packager server pointing to my JS directory. The app compiles fine, but when it runs it throws an exception: "[RCTRootView setReactTag:] unrecognized selector instance sent to instance". The thing is, when I look at RCTRootView
, I don't see that method implemented anywhere, but it does have self.reactTag = ...
in the setUp
method. See the screenshot.
Any help debugging what I'm doing wrong?
EDIT: also, the only thing I added in my didFinishLaunchingWithOptions
method was RCTRootView *rootView = [[RCTRootView alloc] initWithFrame:vc.view.bounds];
, which triggers this.