+10
-8
lines changedFilter options
+10
-8
lines changed Original file line number Diff line number Diff line change
@@ -36,7 +36,9 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
36
36
/**
37
37
* OPTION 2
38
38
* Load from pre-bundled file on disk. The static bundle is automatically
39
-
* generated by "Bundle React Native code and images" build step.
39
+
* generated by the "Bundle React Native code and images" build step when
40
+
* running the project on an actual device or running the project on the
41
+
* simulator in the "Release" build configuration.
40
42
*/
41
43
42
44
// jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
Original file line number Diff line number Diff line change
@@ -10,15 +10,15 @@
10
10
# This script is supposed to be invoked as part of Xcode build process
11
11
# and relies on environment variables (including PWD) set by Xcode
12
12
13
-
# There is no point in creating an offline package for simulator builds
14
-
# because the packager is supposed to be running during development anyways
15
-
if [[ "$PLATFORM_NAME" = "iphonesimulator" ]]; then
16
-
echo "Skipping bundling for Simulator platform"
17
-
exit 0;
18
-
fi
19
-
20
13
case "$CONFIGURATION" in
21
14
Debug)
15
+
# Speed up build times by skipping the creation of the offline package for debug
16
+
# builds on the simulator since the packager is supposed to be running anyways.
17
+
if [[ "$PLATFORM_NAME" = "iphonesimulator" ]]; then
18
+
echo "Skipping bundling for Simulator platform"
19
+
exit 0;
20
+
fi
21
+
22
22
DEV=true
23
23
;;
24
24
"")
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4