dabit3 / react-native-navigation-v2

Up and running with React Native Navigation - V2 - by Wix
74 stars 27 forks source link

RNNavV2Auth has not been registered #1

Open felix0324324 opened 6 years ago

felix0324324 commented 6 years ago

https://imgur.com/E3arPnU Just follow your steps to do but Still cannot compile, please help : (

NagarajRaju commented 6 years ago

https://imgur.com/E3arPnU Just follow your steps to do but Still cannot compile, please help : (

Getting same error, did you solve? , closed all terminal, killed PID and run on deviceId directly but getting same error again for android devices.

shuvo0074 commented 6 years ago

@felix0324324 , @NagarajRaju follow this instruction to setup. https://wix.github.io/react-native-navigation/v2/#/docs/Installing all 11 steps.

vankhoa01 commented 6 years ago

react-native link after npm install

TamasZumpfHBO commented 6 years ago

I got the following error all the time after just run the project on iOS simulator:

"Installing build/Build/Products/Debug-iphonesimulator/RNNavV2Auth.app An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2): Failed to install the requested application An application bundle was not found at the provided path. Provide a valid path to the desired application bundle. Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/RNNavV2Auth.app/Info.plist Print: Entry, ":CFBundleIdentifier", Does Not Exist"

OS: macOS Mojave 10.14 (18A391) Xcode: 10.0 (10A255)

Any advice?

lahlah84 commented 5 years ago

https://wix.github.io/react-native-navigation/#/docs/Installing

must follow the rules as stated when implementing and do the manual install if the auto fails as it works then: npm npm install --save react-native-navigation iOS Make sure your Xcode is updated. We recommend editing .h and .m files in Xcode as the IDE will usually point out common errors.

In Xcode, in Project Navigator (left pane), right-click on the Libraries > Add files to [project name]. Add node_modules/react-native-navigation/lib/ios/ReactNativeNavigation.xcodeproj (screenshots).

In Xcode, in Project Navigator (left pane), click on your project (top), then click on your target row (on the "project and targets list", which is on the left column of the right pane) and select the Build Phases tab (right pane). In the Link Binary With Libraries section add libReactNativeNavigation.a (screenshots).

In Xcode, you will need to edit this file: AppDelegate.m. This function is the main entry point for your app:

! 'RCTBundleURLProvider.h' file not found This is because the React scheme is missing from your project. You can verify this by opening the Product menu and the Scheme submenu.

To make the React scheme available to your project, run npm install -g react-native-git-upgrade followed by react-native-git-upgrade. Once this is done, you can click back to the menu in Xcode: Product -> Scheme -> Manage Schemes, then click '+' to add a new scheme. From the Target menu, select "React", and click the checkbox to make the scheme shared. This should make the error disappear.

3b. If, in Xcode, you see the following warning message in AppDelegate.m next to #import "@implementation AppDelegate":

Class 'AppDelegate' does not conform to protocol 'RCTBridgeDelegate' You can remove RCTBridgeDelegate from this file: AppDelegate.h: