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

View File

@ -27,7 +27,7 @@
# ______________________________________________________________________
# | |
# | .:: TABLE OF CONTENTS ::. |
# | .: TABLE OF CONTENTS :. |
# |______________________________________________________________________|
#
# chr decimal
@ -132,7 +132,7 @@ _tocHash=71e13f42e1ea82c1c7019b27a3bc71f3
# ______________________________________________________________________
# | |
# | .:: GLOBAL CONFIGURATION ::. |
# | .: GLOBAL CONFIGURATION :. |
# |______________________________________________________________________|
# Unset all exported functions. Exported functions are evil.
@ -177,7 +177,7 @@ genToc() {
# ______________________________________________________________________
# | |
# | .:: GLOBAL DECLARATIONS ::. |
# | .: GLOBAL DECLARATIONS :. |
# |______________________________________________________________________|
# Variables for convenience sequences.
@ -230,7 +230,7 @@ runner=( '> >' \
tput eA; tput as;
tput ac; tput ae; } ) # Drawing characters
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.
@ -1569,6 +1569,6 @@ stackTrace() {
}
:
: .:: END SOURCING ::.
: .: END SOURCING :.
: ______________________________________________________________________
:

View File

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