react-native/scripts
Kevin Cooper 0681887347 Add FORCE/SKIP_BUNDLING flags for iOS builds
Summary:
*See discussion below for updated motivation.*

Anything running in Debug should use the packager anyway; no need to bundle. This saves a **huge amount of time** during development when testing things like push notifications that require a real device.

The code being modified was originally moved here in 9ae3714f4b to make sure bundles are always created in `Release`, but the change can be applied to real devices, too. Ideally there should be very little difference in how a simulator is treated compared to a physical device.

Run a Debug build in Xcode targeting a physical device before and after this commit.

You can use the `FORCE_BUNDLING` and `SKIP_BUNDLING` flags to manually change the default behavior. For example, under **Build Phases** > **Bundle React Native code and images**:

```bash
export SKIP_BUNDLING=true
../node_modules/react-native/packager/react-native-xcode.sh
```
Closes https://github.com/facebook/react-native/pull/14731

Differential Revision: D5444352

Pulled By: javache

fbshipit-source-id: 68324fc0be7976e106fe0f9b31d763afd2b460a9
2017-07-18 11:45:47 -07:00
..
android-e2e-test.js Run eslint on all js files 2017-07-12 14:09:53 -07:00
bump-oss-version.js shelljs/global -> shelljs 2017-07-12 16:08:22 -07:00
circle-ci-android-setup.sh Updated extra-android-m2repository to get android support v4 23.4.0 2016-12-29 05:43:31 -08:00
ios-configure-glog.sh Removing test-driver symlink in ios third party install script 2017-06-21 07:45:37 -07:00
ios-install-third-party.sh Add some debug logging if tar fails 2017-06-15 13:05:05 -07:00
launchPackager.bat Move packager launcher scripts outside of `packager/` 2017-05-23 16:17:09 -07:00
launchPackager.command Move packager launcher scripts outside of `packager/` 2017-05-23 16:17:09 -07:00
objc-test-ios.sh Fix Travis podspec CI for Cxx bridge 2017-07-07 02:32:07 -07:00
objc-test-tvos.sh Fix Travis podspec CI for Cxx bridge 2017-07-07 02:32:07 -07:00
objc-test.sh Install watchman on Travis 2017-07-15 17:15:43 -07:00
packager.sh Fix `scripts/packager.sh` for RNTester 2017-05-25 09:46:23 -07:00
process-podspecs.sh Fix Travis podspec CI for Cxx bridge 2017-07-07 02:32:07 -07:00
publish-npm.js
react-native-xcode.sh Add FORCE/SKIP_BUNDLING flags for iOS builds 2017-07-18 11:45:47 -07:00
run-android-ci-instrumentation-tests.js Remove silly exit 2017-07-12 23:37:27 -07:00
run-android-emulator.sh Improve Android testing scripts 2016-12-13 17:13:35 -08:00
run-android-local-integration-tests.sh Skip flaky ScrollView tests 2017-03-13 13:30:31 -07:00
run-android-local-unit-tests.sh Improve Android testing scripts 2016-12-13 17:13:35 -08:00
run-ci-e2e-tests.js Add --maxWorkers flag and allow transformers to run in-band. 2017-06-13 09:16:03 -07:00
run-instrumentation-tests-via-adb-shell.sh
sync-css-layout.sh
test-manual-e2e.sh Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
try-n-times.js
validate-android-device-env.sh Improve Android testing scripts 2016-12-13 17:13:35 -08:00
validate-android-sdk.sh Improve Android testing scripts 2016-12-13 17:13:35 -08:00
validate-android-test-env.sh Add OSS website test, clean up test names, remove website dependency on sass 2017-03-30 15:30:41 -07:00