Files
UnrealEngineUWP/Engine/Build/IOS/XcodeSupportFiles/prepackage.sh

93 lines
2.4 KiB
Bash
Raw Normal View History

#!/bin/sh
echo "Checking project"
if [ project.pbxproj.datecheck -nt ../UE4_FromPC.xcodeproj/project.pbxproj ]
then
echo "Copying project..."
mkdir -p ../UE4_FromPC.xcodeproj > /dev/null
cp project.pbxproj.datecheck ../UE4_FromPC.xcodeproj/project.pbxproj
else
echo "Project file is up to date."
fi
echo "Checking for inline breakpoint strategy"
lldbinitfile=~/.lldbinit
if grep -q "strategy" $lldbinitfile
then
echo "Strategy found... inline breakpoints already enabled"
else
echo "settings set target.inline-breakpoint-strategy always" >> ~/.lldbinit
echo "Strategy not found -> enabling all inline breakpoints"
fi
if [ -e ../../../Binaries/IOS/$1-$2-$3$4.app.dSYM.zip.datecheck ]
then
pushd ../../../Binaries/IOS > /dev/null
if [ $1-$2-$3$4.app.dSYM.zip.datecheck -nt $1-$2-$3.app.dSYM.zip ]
then
echo "Unzipping new .dSYM..."
mv $1-$2-$3$4.app.dSYM.zip.datecheck $1-$2-$3$4.app.dSYM.zip
unzip -o $1-$2-$3$4.app.dSYM.zip
else
echo ".dSYM is up to date."
fi
popd > /dev/null
else
echo $1"-"$2"-"$3""$4".app.dSYM not found..."
fi
if [ -e ../../../Binaries/IOS/$1-$2-$3$4.app.dSYM ]
then
pushd ../../../Binaries/IOS > /dev/null
cp -R $1-$2-$3$4.app.dSYM Payload/$1.app.dSYM
popd > /dev/null
fi
if [ -e ../../../Binaries/IOS/$1$4.app.dSYM ]
then
pushd ../../../Binaries/IOS > /dev/null
cp -R $1$4.app.dSYM Payload/$1$4.app.dSYM
popd > /dev/null
fi
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3627362) #lockdown Nick.Penwarden #rb None ============================ MAJOR FEATURES & CHANGES ============================ Change 3600639 by Nick.Shin HTML5 remove old emscripten toolchain forgot to remove this (was checked out in another changelist) #jira UE-47813 Change 3600641 by Nick.Shin HTML5 TM-Core crash fixes new PhysX HTML5 libs #jira UE-47813 Index Out Of Bounds crash running "GC and Level Load Stress Test" in TM-Core on Firefox Change 3600644 by Nick.Shin HTML5 TM-Core crash fixes emscripten doesn't seem to know how to look at <PxRigidActor> from the PxActor class... #jira UE-47813 Index Out Of Bounds crash running "GC and Level Load Stress Test" in TM-Core on Firefox Change 3600647 by Nick.Shin HTML5 UInterpTrackInst::GetGroupActor() pre-null check #jira UE-47485 ( Pri:1 - 4.18 ) Crash running Stat Command test in TM-Core on Firefox Change 3601439 by Dmitriy.Dyomin Fixed: Protostar leads to device reboot in Galaxy S7 Adreno device. (SM-G930V) #jira UE-48323 Change 3601440 by Dmitriy.Dyomin Fixed: Texture streaming after world origin was rebased Change 3601456 by Dmitriy.Dyomin Added: Async loading bytecode from shader library - Shader library will be packed into single file - Shader library will be created only when packaging project by the book #jira UEMOB-381 Change 3601624 by Jack.Porter Fix landscape crash on HTML5 Exception !IsInRenderingThread() failed. #jira UE-48527 Change 3603890 by Dmitriy.Dyomin GitHub 3905 : Engine crash in LandscapeComponent when streaming levels #3905 #jira UE-48422 Change 3603933 by Dmitriy.Dyomin Fixed: Crash after Splash Screen on Android (ETC2) when Adding r.UseShaderCaching and r.UseShaderPredraw - Added r.SaveShaderCache command to save current cache on demand - Removed support for caching multiple platfroms at the same time, each platform now uses separate cache/file - Significantly reduced size of draw log on disk - Mobile platfroms support only basic caching, logging shaders and bound shader states without full gfx state #jira UE-47553 Change 3604050 by Sorin.Gradinaru #jira UE-47428 Android virtual keyboard polishing Done: Multiline should be disabled when not needed Hide suggestions and autocorrect "Done" / back button behavior to make it feel natural - Done/Enter and the Back key event sent to the engine If the keyboard is up and you click on the same control you're currently inputting into, it will hide the keyboard. Look into animation - not critical. S6 with Swiftkey. The numbers don't show up in our textedit but the string is updated (we see dots in the Slate control) with the password entry Could not reproduce/test: Make sure we don't use negative coords for the input box if the keyboard is at the top of the screen Change 3604081 by Allan.Bentham Reduce redundant log spam from SustainedPerformanceMode on android. Change 3604152 by Allan.Bentham Improved vulkanRHI availability and selection reporting. Change 3604186 by Dmitriy.Dyomin Vulkan: Write to buffers directly on UMA devices (no staging) Change 3604396 by Nick.Shin HTML5 - stats and multi-threading checks more null & multi-threading - and some functions flat out disabled for HTML5 platform the big "don't use on HTML5" is TLockFreeFixedSizeAllocator_TLSCacheBase's manual TLS.PartialBundle memory handler... i'm not sure it's working properly... switched on USE_NIEVE_TLockFreeFixedSizeAllocator_TLSCacheBase sections of code (i.e. basic malloc and free) for PLATFORM_HTML5 - it seems only the stats function was exacerbating the memory bug ... but, shutting this completely out for HTML5... don't know if it's an emscripten compiler/corruption that's causing this... - will send this to emscripten makers as another test case for them to help see what's going on... #jira UE-47485 ( Pri:1 - 4.18 ) Crash running Stat Command test in TM-Core on Firefox Change 3604752 by Allan.Bentham Reduce battery status log spam. Change 3604825 by Nick.Shin HTML5 emscripten 1.37.19 updated license file #jira UE-47813 Change 3606486 by Jack.Porter Enabled refraction on tvOS #jira UE-47229 Change 3606546 by Dmitriy.Dyomin Vulkan: Missed null check from CL# 3601439 Change 3606654 by Allan.Bentham mobile post process shaders will not attempt depth buffer fetch, instead they will always read from the depth texture. #jira UE-41919 Change 3606672 by Dmitriy.Dyomin Fixed: Vulkan mode crashes without error on Tegra K1 Nvidia Shield due to OOM - fixed r.MobileReduceLoadedMips has no effect - added r.MobileMaxLoadedMips to set a limit to a number of mips - reduced size of vulkan allocation pages on android #jira UE-42838 Change 3607204 by Allan.Bentham Do not attempt getprocaddress for GL_EXT_DEBUG_LABEL functions when the extension is not declared. Change 3607214 by Nick.Shin HTML5 - stats font crash fix #jira UE-47485 ( Pri:1 - 4.18 ) Crash running Stat Command test in TM-Core on Firefox Change 3609164 by Chris.Babcock More informative Android SDK license requirements and errors #jra UE-48837 #ue4 #android Change 3609175 by Chris.Babcock Linux build fix #jira none Change 3609516 by Dmitriy.Dyomin Fixed: Decals in TM-ShaderModels appearing and disappearing when viewed at certain angles on Android #jira UE-45342 Change 3609618 by Dmitriy.Dyomin Back out changelist 3603933, to help merge from main Change 3610979 by Peter.Sauerbrei addition of asset catalogs for icons on Xcode 9 for iOS 11 Change 3612145 by Dmitriy.Dyomin Resubmitting CL #3603933 (shader cache fixes) Change 3613981 by Chris.Babcock Fix issue with Android password keyboard input #jira WEX-7343 #ue4 #android Change 3614375 by Sorin.Gradinaru #jira UE-44656 StrategyGame Crashes on launch on KindleFire 5th Gen. Kindle Fire HD7 5th (CPU Mali 450) seems to have problems with thread rendering, crashing when returning to the main thread. Added new device profile [Android_Mali_4xx_KindleFire] with a new cvar r.AndroidDisableThreadedRenderingFirstLoad=1, disabling movie player rendering on the intial screen. For subsequent loading screens, the (same) code apparently runs Ok. A warning "Initial loading screen disabled from BaseDeviceProfiles.ini: r.AndroidDisableThreadedRenderingFirstLoad=1" should appear when the thread rendering is disabled Change 3614971 by Cosmin.Sulea UE-46769 - GitHub 3745 : bForcePVRTC4 was ignored. #jira UE-46769 Change 3616431 by Peter.Sauerbrei PR3657,3658 - fixes for InApp purchase bugs courtesy of nverenik Change 3617306 by Jack.Porter Fix issue where undocked tabs had no way to be made visible again when hidden #jira UE-12044 Change 3617312 by Jack.Porter Find a new best MobileDirectionalLights[channel] when then current one is removed from the world (eg by a level streaming operation) #jira UE-47135 #3785 Change 3617383 by Dmitriy.Dyomin Vk - only dynamic buffers in HostVisible on UMA devices Change 3617437 by Dmitriy.Dyomin Vk - SRV allocates one BufferView for each buffer in FVulkanResourceMultiBuffer, so they can be reused (contributed by Samsung) Change 3617474 by Dmitriy.Dyomin Vk - Don't use fences on image acquire on Android Change 3617483 by Dmitriy.Dyomin Vk - Remove redundant dynamic state setup (viewport, scissor, stencilref) (contributed by Samsung) Change 3617521 by Dmitriy.Dyomin Fix CIS warnings Change 3617574 by Dmitriy.Dyomin Vk - Optimized RenderPass pool and Framebuffer pool (reduced vkObject count) (contributed by Samsung) ProtoStar: Framebuffer count : 133 -> 108, Renderpass count : 21 -> 18 Change 3617585 by Dmitriy.Dyomin compile fix for CL# 3617574 Change 3617849 by Allan.Bentham Log UnsatisfiedLinkError's content when loadlibrary fails. Change 3617945 by Chris.Babcock Allow UPL variable expansion in addPermission, addFeature, and addLibrary #jira UE-47421 #ue4 #android Change 3618097 by Allan.Bentham Fix Y axis switch with android GLES when rendering triangles to canvas. #jira UE-44510 Change 3618733 by Peter.Sauerbrei fix from Dev-Rendering for tvOS shader compilation Change 3618761 by Peter.Sauerbrei fix for shader crash on startup on iOS Change 3618769 by Peter.Sauerbrei bump metal shader guid to force a rebuild of shaders Change 3620061 by Peter.Sauerbrei fix for resource directory on Asset catalogs #jira UE-49074 Change 3620520 by Peter.Sauerbrei remove the texture warning, the logic was incorrect and in the end we don't need the warning #jira UE-49057 Change 3621811 by Allan.Bentham Add mipindex and array slice index to framebuffer hashing code. #jira UE-49171 Change 3624410 by Jack.Porter Fix issue where the Shared Material Native Libraries checkbox causes packaging for Android to fail #jira UE-49105 Change 3627361 by Jack.Porter Fixing case on iOS files #jira None Change 3627362 by Jack.Porter Fixed case on IOS files #jira None [CL 3627373 by Jack Porter in Main branch]
2017-09-06 01:04:25 -04:00
if [ -e ../../../Binaries/IOS/AssetCatalog/Assets.car ]
then
pushd ../../../Binaries/IOS/AssetCatalog > /dev/null
cp -R ./ ../Payload/$1$4.app/
popd > /dev/null
fi
if [ -e $1-Info.plist ]
then
if [ -d ../../../Intermediate/IOS ]
then
cp -R $1-Info.plist ../../../Intermediate/IOS/$1-Info.plist
else
if [ "$1" == "UnrealGame" ]
then
mkdir -p ../../../../Engine/Intermediate/IOS/
cp -R $1-Info.plist ../../../../Engine/Intermediate/IOS/$1-Info.plist
else
mkdir -p ../../../Intermediate/IOS/
cp -R $1-Info.plist ../../../Intermediate/IOS/$1-Info.plist
fi
fi
fi
if [ -e $1.entitlements ]
then
if [ -d ../../../Intermediate/IOS ]
then
cp -R $1.entitlements ../../../Intermediate/IOS/$1.entitlements
else
if [ "$1" == "UnrealGame" ]
then
mkdir -p ../../../../Engine/Intermediate/IOS/
cp -R $1.entitlements ../../../../Engine/Intermediate/IOS/$1.entitlements
else
mkdir -p ../../../Intermediate/IOS/
cp -R $1.entitlements ../../../Intermediate/IOS/$1.entitlements
fi
fi
fi