RN 0.59, facing an error when im trying to run react-native link:
Patching file ios/survey/AppDelegate.m
Could not configure AppCenter for iOS. Error Reason -
Could not find line "NSURL *jsCodeLocation;" in file AppDelegate.m.
Update AppDelegate.m so that text is present, as we match on it and insert ' [AppCenterReactNative register]; // Initialize AppCenter ' after for AppCenter SDK integration.

Fixed by adding NSURL *jsCodeLocation; to AppDelegate.m (after curly braces)
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
moduleName:@"survey"
initialProperties:nil];
NSURL *jsCodeLocation;
The same error is with AppCenterAnalytics and AppCenterCrashReports
same here!
Hey @v0lume @schwamic,
Thanks for reporting this issue. It is caused by appcenter react-native linker script not yet compatible with RN v0.59. We're working on a fix and it should be shipped in the coming App Center RN SDK March release.
@dhei - when would that release ship? Thanks for all you do! 馃槃
It should be released later this week.
This bug has been fixed in the SDK March release.
Most helpful comment
It should be released later this week.