Skip to content

Commit 5b9c5c8

Browse files
committed
More Tweaks to get build working
1 parent 530c85e commit 5b9c5c8

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

platform/iphone/build_templates.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ build_target() {
108108
rm -vrf "$path/template-dSYM/$DST_ROOT/$VERSION/$CONFIGURATION/${PRODUCT_DST_REAL}.dSYM"
109109

110110
echo "Running: xcodebuild -project '$path'/ratatouille.xcodeproj -target '$TARGET' -configuration Release -sdk '$SDK'" SYMROOT="$path/build"
111-
xcodebuild -project "$path"/ratatouille.xcodeproj -target "$TARGET" -configuration Release -sdk "$SDK" SYMROOT="$path/build" 2>&1 | tee -a "$FULL_LOG_FILE" | egrep -v "$XCODE_LOG_FILTERS"
111+
xcodebuild -project "$path"/ratatouille.xcodeproj -target "$TARGET" -configuration Release -sdk "$SDK" SYMROOT="$path/build" -allowProvisioningUpdates 2>&1 | tee -a "$FULL_LOG_FILE" | egrep -v "$XCODE_LOG_FILTERS"
112112
checkError
113113

114114
SUFFIX=$SDK_BASE

platform/mac/lua.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,6 +1273,7 @@
12731273
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
12741274
COPY_PHASE_STRIP = YES;
12751275
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1276+
"DEVELOPMENT_TEAM[sdk=macosx*]" = BG2J43EA88;
12761277
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
12771278
INSTALL_PATH = /;
12781279
OTHER_LDFLAGS = "-L$(PROJECT_TEMP_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)";
@@ -1303,6 +1304,7 @@
13031304
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
13041305
COPY_PHASE_STRIP = YES;
13051306
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1307+
"DEVELOPMENT_TEAM[sdk=macosx*]" = BG2J43EA88;
13061308
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
13071309
GCC_PREPROCESSOR_DEFINITIONS = (
13081310
LUA_USE_MODERN_MACOSX,
@@ -1332,6 +1334,7 @@
13321334
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
13331335
COPY_PHASE_STRIP = YES;
13341336
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1337+
"DEVELOPMENT_TEAM[sdk=macosx*]" = BG2J43EA88;
13351338
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
13361339
INSTALL_PATH = /;
13371340
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1360,6 +1363,7 @@
13601363
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
13611364
COPY_PHASE_STRIP = YES;
13621365
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1366+
"DEVELOPMENT_TEAM[sdk=macosx*]" = BG2J43EA88;
13631367
GCC_PREPROCESSOR_DEFINITIONS = (
13641368
"$(inherited)",
13651369
Rtt_ALLOCATOR_SYSTEM,

platform/tvos/build_templates.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ SDK_SIMULATOR=${PLATFORM_BASE}simulator
5454
# -----------------------------------------------------------------------------
5555

5656
rm -rf "${BUILD_DIR}"
57-
xcodebuild SYMROOT="$path/build" -project "${path}"/ratatouille.xcodeproj -configuration Release clean 2>&1 | tee -a "$FULL_LOG_FILE" | egrep -v "$XCODE_LOG_FILTERS"
57+
xcodebuild SYMROOT="$path/build" -project "${path}"/ratatouille.xcodeproj -configuration Release clean -allowProvisioningUpdates 2>&1 | tee -a "$FULL_LOG_FILE" | egrep -v "$XCODE_LOG_FILTERS"
5858

5959

6060
# Directories
@@ -80,7 +80,7 @@ export SUPPRESS_GUI=1
8080

8181
# template device
8282

83-
xcodebuild SYMROOT="$path/build" OTHER_CFLAGS="-fembed-bitcode" -project "${path}"/ratatouille.xcodeproj -target ${TEMPLATE_TARGET} -configuration Release -sdk ${SDK_DEVICE} 2>&1 | tee -a "$FULL_LOG_FILE" | egrep -v "$XCODE_LOG_FILTERS"
83+
xcodebuild SYMROOT="$path/build" OTHER_CFLAGS="-fembed-bitcode" -project "${path}"/ratatouille.xcodeproj -target ${TEMPLATE_TARGET} -configuration Release -sdk ${SDK_DEVICE} -allowProvisioningUpdates 2>&1 | tee -a "$FULL_LOG_FILE" | egrep -v "$XCODE_LOG_FILTERS"
8484
checkError
8585

8686
mv -v "${BUILD_DIR}/Release-${SDK_DEVICE}/template.app" "${BUILD_DIR}/template/${SDK_DEVICE}/${SDK_VERSION}/template.app"
@@ -106,7 +106,7 @@ then
106106
# CoronaCards.framework
107107
# NOTE: No need to do clean, since we already did a clean build in the above xcodebuild
108108
# invocations. This xcodebuild will finish nearly instantaneously.
109-
xcodebuild SYMROOT="$path/build" OTHER_CFLAGS="-fembed-bitcode" -project "${path}"/ratatouille.xcodeproj -target CoronaCards.framework -configuration Release 2>&1 | tee -a "$FULL_LOG_FILE" | egrep -v "$XCODE_LOG_FILTERS"
109+
xcodebuild SYMROOT="$path/build" OTHER_CFLAGS="-fembed-bitcode" -project "${path}"/ratatouille.xcodeproj -target CoronaCards.framework -configuration Release -allowProvisioningUpdates 2>&1 | tee -a "$FULL_LOG_FILE" | egrep -v "$XCODE_LOG_FILTERS"
110110
checkError
111111
fi
112112

0 commit comments

Comments
 (0)