I have integrated React Native Navigation package for my React Native application.I need to update my old React Native Navigation version to latest version. I am following it's official docs for setup:: check this link https://wix.github.io/react-native-navigation/#/docs/Installing?id=ios
I am facing an issue in iOS linking.
Error:: 'ReactNativeNavigation/ReactNativeNavigation.h' file not found
Error:: Semantic issue: Use of undeclared identifier ReactNativeNavigation
I have also followed this previous post but it's not works for me link I'm setting up React Native Navigation for my application, for iOS using Xcode.
I've made modifications in the AppDelegate.m file as followed by it's official link:
#import "AppDelegate.h"
#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>
#import <ReactNativeNavigation/ReactNativeNavigation.h>
@implementation AppDelegate
- (BOOL)application:(UIΩApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
NSURL *jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
[ReactNativeNavigation bootstrap:jsCodeLocation launchOptions:launchOptions];
return YES;
}
@end
Please suggest how to resolve this issue for iOS platform.
libReactNativeNavigation.a
is included in the main projectsLink Binary With Libraries
section. – Akhilrajtr