You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Packaging and archiving for modern IOS/Mac:
- When doing standard BuildCookRun, package will simply finalize the (likely already finalize) .app in Binaries/<platform> - When using Distribution mode, packge will create a .xcarchive in the Xcode Library (as seen in Organizer) to be able to distribute in various modes - Archiving will copy either the .app or .xcarchive made above to the archive directory (it will always copy the most recent .xcarchive, since we don't create the directory name, we can't know which archive to copy, so the most recent one wins - not an issue when using -package, because it always makes a new .xcarchive) - A few code cleanup/refactors in related #preflight 644ab91fb208f61af82d8f76 [CL 25220287 by Josh Adams in ue5-main branch]
This commit is contained in:
@@ -1249,7 +1249,7 @@ namespace UnrealBuildTool.XcodeProjectXcconfig
|
||||
// NOTE: We read from hardcoded location where UBT writes to, but we write to CONFIGURATION_BUILD_DIR because
|
||||
// when Archiving, the .app is somewhere else
|
||||
string SourceEnvVar = (Project.Platform == UnrealTargetPlatform.Mac) ? "EXECUTABLE_PATH" : "EXECUTABLE_NAME";
|
||||
string EngineOrProject = Project.UnrealData.UProjectFileLocation == null ? "Engine" : Project.UnrealData.ProductName;
|
||||
string EngineOrProject = Project.UnrealData.UProjectFileLocation == null ? "Engine" : Project.UnrealData.UProjectFileLocation.GetFileNameWithoutAnyExtensions();
|
||||
|
||||
CopyScript.AddRange(new string[]
|
||||
{
|
||||
@@ -1319,7 +1319,7 @@ namespace UnrealBuildTool.XcodeProjectXcconfig
|
||||
{
|
||||
"set -e",
|
||||
"",
|
||||
"# Run the wrapper dsym geneerator",
|
||||
"# Run the wrapper dsym generator",
|
||||
"\\\"${UE_ENGINE_DIR}/Build/BatchFiles/Mac/GenerateUniversalDSYM.sh\\\" \\\"${CONFIGURATION_BUILD_DIR}/${EXECUTABLE_PATH}\\\" \\\"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}\\\"",
|
||||
"strip -no_code_signature_warning -D \\\"${CONFIGURATION_BUILD_DIR}/${EXECUTABLE_PATH}\\\"",
|
||||
"",
|
||||
|
||||
Reference in New Issue
Block a user