Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 6690171

Browse files
committed
Update text for updated RN PR
1 parent c2aa9d9 commit 6690171

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ios/CodePush/CodePush.m

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -331,20 +331,20 @@ + (void)ensureBinaryBundleExists
331331

332332
#ifdef DEBUG
333333
#if TARGET_IPHONE_SIMULATOR
334-
errorMessage = @"React Native doesn't generate your app's JS bundle by default for Debug builds. "
335-
"If you'd like to test CodePush using a Debug build, you can do one of the following, depending on your "
334+
errorMessage = @"React Native doesn't generate your app's JS bundle by default when deploying to the simulator. "
335+
"If you'd like to test CodePush using the simulator, you can do one of the following depending on your "
336336
"React Native version and/or preferred workflow:\n\n"
337337

338338
"1. Update your AppDelegate.m file to load the JS bundle from the packager instead of from CodePush. "
339339
"You can still test your CodePush update experience using this workflow (Debug builds only).\n\n"
340340

341-
"2. Force the JS bundle to be generated in Debug builds by enabling the FORCE_BUNDLING flag under "
342-
"\"Build Phases\" > \"Bundle React Native code and images\" (React Native >=0.47 only)\n\n"
341+
"2. Force the JS bundle to be generated in simulator builds by enabling the FORCE_BUNDLING flag under "
342+
"\"Build Phases\" > \"Bundle React Native code and images\" (React Native >=0.48 only).\n\n"
343343

344-
"3. Force the JS bundle to be generated in Debug builds by removing the if block that echoes "
345-
"\"Skipping bundling for Simulator platform\" in the \"node_modules/react-native/packager/react-native-xcode.sh\" file (React Native <=0.46 only)\n\n"
344+
"3. Force the JS bundle to be generated in simulator builds by removing the if block that echoes "
345+
"\"Skipping bundling for Simulator platform\" in the \"node_modules/react-native/packager/react-native-xcode.sh\" file (React Native <=0.47 only)\n\n"
346346

347-
"4. Deploy a Release build, which unlike Debug builds, will generate the JS bundle (React Native >=0.22 only).";
347+
"4. Deploy a Release build to the simulator, which unlike Debug builds, will generate the JS bundle (React Native >=0.22.0 only).";
348348
#else
349349
errorMessage = [NSString stringWithFormat:@"The specified JS bundle file wasn't found within the app's binary. Is \"%@\" the correct file name?", [bundleResourceName stringByAppendingPathExtension:bundleResourceExtension]];
350350
#endif

0 commit comments

Comments
 (0)