From 284466bdbad1fc021ebe7b048745d79be681e915 Mon Sep 17 00:00:00 2001 From: Jelte Liebrand Date: Wed, 25 Oct 2017 17:24:47 +0100 Subject: [PATCH] Make sure the bundle is correctly named In order for the production bundle to be picked up correctly, make sure it is named *.jsbundle --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e732390..2530414 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ a different location, you can update the documented commands accordingly. For iOS you can use the following command: -`node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest ./ios --entry-file index.thread.js --platform ios --bundle-output ./ios/index.thread.js` +`node node_modules/react-native/local-cli/cli.js bundle --dev false --assets-dest ./ios --entry-file index.thread.js --platform ios --bundle-output ./ios/index.thread.jsbundle` Once you have generated the bundle file in your ios folder, you will also need to add the bundle file to you project in Xcode. In Xcode's file explorer you should see -- 2.26.2