Skip to content

Commit

Permalink
Skip bundling for Simulator
Browse files Browse the repository at this point in the history
Summary:
Following up on the conversation in https://www.prod.facebook.com/groups/reactnativeoss/permalink/1516993445263951/ I currently don't see any good reason to create an offline bundle for simulator builds.
Closes facebook#5519

Reviewed By: svcscm

Differential Revision: D2859751

Pulled By: mkonicek

fb-gh-sync-id: f70481e447e258f5531de773729fc31d9ebec6f7
  • Loading branch information
frantic authored and facebook-github-bot-5 committed Jan 26, 2016
1 parent 7419a82 commit 5f0ef12
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packager/react-native-xcode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
# This script is supposed to be invoked as part of Xcode build process
# and relies on envoronment variables (including PWD) set by Xcode

# There is no point in creating an offline package for simulator builds
# because the packager is supposed to be running during development anyways
if [[ "$PLATFORM_NAME" = "iphonesimulator" ]]; then
echo "Skipping bundling for Simulator platform"
exit 0;
fi

case "$CONFIGURATION" in
Debug)
DEV=true
Expand Down

0 comments on commit 5f0ef12

Please sign in to comment.