2
0

Work around the weirdest Xcode build failure: don't output :: STUFF :: from a build script or Xcode will fail it.

This commit is contained in:
Maarten Billemont 2014-11-18 08:12:40 -05:00
parent 7d6f2533db
commit 33eab0f199
5 changed files with 12 additions and 10 deletions

Binary file not shown.

View File

@ -3492,6 +3492,7 @@
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
shellPath = "/bin/sh -e"; shellPath = "/bin/sh -e";
shellScript = "exec ../../../Scripts/updatePlist"; shellScript = "exec ../../../Scripts/updatePlist";
showEnvVarsInLog = 0;
}; };
DA8D88E019DA412A00B189D0 /* Run Script: genassets */ = { DA8D88E019DA412A00B189D0 /* Run Script: genassets */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
@ -3504,8 +3505,9 @@
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
shellPath = "/bin/sh -xe"; shellPath = "/bin/sh -e";
shellScript = "exec ../../../Scripts/genassets"; shellScript = "exec ../../../Scripts/genassets";
showEnvVarsInLog = 0;
}; };
DAD3125D155288AA00A3F9ED /* Run Script: Crashlytics */ = { DAD3125D155288AA00A3F9ED /* Run Script: Crashlytics */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;

View File

@ -27,7 +27,7 @@
# ______________________________________________________________________ # ______________________________________________________________________
# | | # | |
# | .:: TABLE OF CONTENTS ::. | # | .: TABLE OF CONTENTS :. |
# |______________________________________________________________________| # |______________________________________________________________________|
# #
# chr decimal # chr decimal
@ -132,7 +132,7 @@ _tocHash=71e13f42e1ea82c1c7019b27a3bc71f3
# ______________________________________________________________________ # ______________________________________________________________________
# | | # | |
# | .:: GLOBAL CONFIGURATION ::. | # | .: GLOBAL CONFIGURATION :. |
# |______________________________________________________________________| # |______________________________________________________________________|
# Unset all exported functions. Exported functions are evil. # Unset all exported functions. Exported functions are evil.
@ -177,7 +177,7 @@ genToc() {
# ______________________________________________________________________ # ______________________________________________________________________
# | | # | |
# | .:: GLOBAL DECLARATIONS ::. | # | .: GLOBAL DECLARATIONS :. |
# |______________________________________________________________________| # |______________________________________________________________________|
# Variables for convenience sequences. # Variables for convenience sequences.
@ -230,7 +230,7 @@ runner=( '> >' \
tput eA; tput as; tput eA; tput as;
tput ac; tput ae; } ) # Drawing characters tput ac; tput ae; } ) # Drawing characters
back=$'\b' back=$'\b'
} 2>/dev/null ||: } ||:
@ -238,7 +238,7 @@ runner=( '> >' \
# ______________________________________________________________________ # ______________________________________________________________________
# | | # | |
# | .:: FUNCTION DECLARATIONS ::. | # | .: FUNCTION DECLARATIONS :. |
# |______________________________________________________________________| # |______________________________________________________________________|
@ -1549,7 +1549,7 @@ stackTrace() {
# ______________________________________________________________________ # ______________________________________________________________________
# | | # | |
# | .:: ENTRY POINT ::. | # | .: ENTRY POINT :. |
# |______________________________________________________________________| # |______________________________________________________________________|
# Make sure this file is sourced and not executed. # Make sure this file is sourced and not executed.
@ -1569,6 +1569,6 @@ stackTrace() {
} }
: :
: .:: END SOURCING ::. : .: END SOURCING :.
: ______________________________________________________________________ : ______________________________________________________________________
: :

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
cd "${BASH_SOURCE%/*}" cd "${BASH_SOURCE%/*}"
source bashlib set -x
set -e source ./bashlib
cd .. cd ..
export PATH+=:/usr/libexec export PATH+=:/usr/libexec