149 Commits

Author SHA1 Message Date
Josh Adams
eb3569c187 - Fixed various blocking issues with making Mac/IOS builds that can be uploaded to AppStore in Xcode
* Missing ThinApp.sh
  * Missing some quotes around a variable in GenerateUniversalDSYM.sh
  * Correctly filter out the stub .app's and such when copying the Staged data directory into the .app
  * Disabled the Mac's Sign To Run Locally option by default, as that causes Xcode's Validation/Upload to not have the team name embedded in it, causing a hassle while pushing up to AppStore/TestFlight
  * Fixed the PRODUCT_NAME for BP projects
  * Made CrashReportClient be a sandboxed app that inherits from parent
  * Fix Hybrid apps to check all platforms before in the project generator, so that if a project needs a temp target for IOS (via a plugin)
  * Disabled the LoginFlow module from OnlineFramework plugin - this was causing issues with having CEF and EpicWebHelper embedded into a sandboxed .app, and LoginFlow isn't seemingly actually used by anything
  * Set the no-encryption setting in the template Mac plist to make uploading to TestFlight/AppStore easier
  * Fixed editor to not compile as universal when using -distribution, only the client should be universal
  * Further improvements to stripping out nested .app's in a final .app (remove them from the staged directory helps)
  * Changed how the Mac app name is displayed, since the .app name itself is shown in the Finder,  unlike IOS where the CFBundleName is shown (the archived .app name in the .xcarchive is named by a project setting, falling back to the .uproject name if not set)
  * Disabled the SignExecutables function on Modern because they attempt to sign the wrong .apps, and one is no longer (previously it was uselessly signing .apps, but now it throws an error due to changes for the third item in this list)
  * Legacy Xcode mode is forced with Window's Remote Mac builds, so use the old legacy code when running under windows
  * Added a third party .cpp file to get copied to remote macs
  * Fix Tools -> Open Xcode not working with modern Xcode

#jira UE-197465

[CL 28723100 by Josh Adams in 5.3 branch]
2023-10-12 15:15:43 -04:00
calvin zheng
11491282a1 Gray out some of iOS settings when using modernized Xcode, but not on PC
#jira UE-194418
#rb Josh.Adams, Adam.Kinge, Zack.Neyland

[CL 27824073 by calvin zheng in 5.3 branch]
2023-09-13 05:56:58 -04:00
Josh Adams
282f38b513 - Building MacPlatformEditor and MacTargetPlatform so that the Xcode Projects settings show up in the Windows editor, for remote IOS building
#jira UE-193734
#rb

[CL 27342265 by Josh Adams in 5.3 branch]
2023-08-24 10:58:59 -04:00
Josh Adams
b94b0ba4ad - Removed the quotes around the signing identity for Xcode manual codesigning
- During staging, we now make the UBTGenerated/Info.Template.plist in the project folder instead of Engine folder, for BP projects
- Fixed an AppStoreConnect label in the Xcode project settings that would have confused anyone trying to set it up

#jira UE-193101, UE-193108, UE-193104
#rb Calvin.zheng

[CL 27130143 by Josh Adams in 5.3 branch]
2023-08-15 21:28:55 -04:00
calvin zheng
dea5b38e51 - Fixed up some FilePath stuff with Xcode settings
- Fixed a quotes warning in a .ini
#rb trivial
#jira UE-189365


#[robomerge][bot5] -FNMain

#ushell-cherrypick of 26184182 by josh.adams

[CL 26210811 by calvin zheng in 5.3 branch]
2023-06-23 11:33:12 -04:00
calvin zheng
f99e44009b - Handle manual codesigning with Modern Xcode (using all new settings, does not use the "green check" provisions in IOS project settings)
- Added support for AppStoreConnect API for automatic code signing (with command line builds, packaging from editor, etc) that doesn't need everyone to be signed in to Xcode (still need to sign in if using Xcode IDE to build/run)
- Fixed Modern to always create the IOS plist in UBT ApplePostBuild step
- Updated a bunch of ini setting names to remove Modern, given Modern will be standard in the future
- Added some settings XcodeProject settings in the editor, and updated some tooltips/category names
- Moved some functions around to clean up
- Added some debug code to catch errors

#rb adam.kinge,calvin.zheng,zack.neyland

#ushell-cherrypick of 26133818 by Josh.Adams

[CL 26152365 by calvin zheng in 5.3 branch]
2023-06-21 12:07:08 -04:00
carl lloyd
aeb3c16a16 Add support to enable an SM6 platform for Mac
#rb Zack.Neyland
#jira UE-184435

[CL 26063410 by carl lloyd in 5.3 branch]
2023-06-16 14:37:30 -04:00
calvin zheng
8d7d8caf83 fix LOCTEXT_NAMESPACE
#jira horde issue 303460
#rb trivial
#preflight trivial

[CL 25465207 by calvin zheng in ue5-main branch]
2023-05-13 02:55:55 -04:00
calvin zheng
dd7731d7cc fix UnrealFrontEnd build fail, splitting XcodeProjectSettings into two files, so that UnrealFrontend can include the none editor part
#jira horde issue 303127
#rb Josh.Adams
#preflight 645e80ca2965f6ea8e085199

[CL 25456753 by calvin zheng in ue5-main branch]
2023-05-12 14:40:01 -04:00
calvin zheng
7b096839a0 add import buttons for Xcode project settings plist/entitlements
#jira n/a
#preflight 645e4b74b71b8186aad534cd
#rb Josh.Adams

[CL 25449358 by calvin zheng in ue5-main branch]
2023-05-12 10:49:07 -04:00
christopher waters
de3d730026 Moving some LinuxTargetPlatform and MacTargetPlatform private files to Public since they're used by other modules.
#preflight 644972116b589f8b3688999f

[CL 25206591 by christopher waters in ue5-main branch]
2023-04-26 16:42:00 -04:00
calvin zheng
d40dc1b67c dynamic settings enabling for Xcode project settings
#rb Josh.Adams
#preflight n/a

[CL 25188022 by calvin zheng in ue5-main branch]
2023-04-25 15:48:20 -04:00
calvin zheng
a19ad9e117 Fix LOCTEXT conflicts, also fix Mac settings being replaced
#jira 294221
#rb trivial
#preflight N/A

[CL 25180408 by calvin zheng in ue5-main branch]
2023-04-25 10:40:44 -04:00
calvin zheng
d615e69004 Exposing xcode settings to UE settings UI (more work about dynamic disabling etc will follow)
#jira N/A
#rb Josh.Adams
#preflight 6446ae7a7368de8c98fc84d2

[CL 25169123 by calvin zheng in ue5-main branch]
2023-04-24 15:15:00 -04:00
Josh Adams
4474d77737 - Updated Mac compile default to Host architecture
- Added missing Project Settings
- Added support for BuildMachine haaving unique defaults
#preflight 63ef74ca977ceed915159aac
#rb zack.neyland
#preflight 63eff0b5e832ea950aa484c1

[CL 24291676 by Josh Adams in ue5-main branch]
2023-02-17 16:44:06 -05:00
zack neyland
e8eb20415f MetalRT: Laying initial groundwork, disabled by default.
* Enabling requires re-building a metalpp with appropriate flags/defines set along with an OS version that supports the RT headers/libs.

#preflight 63c72f1a0225f00e14c05c46
#jira none

[CL 23750025 by zack neyland in ue5-main branch]
2023-01-17 19:53:36 -05:00
Josh Adams
82959c24fd - Added WITH_ENGINE wrappers to some code in MacTargetPlatform that doesn't work without engine
#rb tim.smith
#jira none
#preflight 63575537f726e94fe029697c

[CL 22744958 by Josh Adams in ue5-main branch]
2022-10-24 23:29:53 -04:00
richard wallis
8d24dcd6ee Add -fpreserve-invariance for Vertex shaders for Metal versions above 2.2. macOS only: Reinstate Metal versions 2.2 and 2.3 to work round what appears to be a M1 position invariance compiler bug.
#jira UE-164360
#preflight 63443b667045f13c96bda936
[REVIEW] [at]zack.neyland, [at]axel.riffard, [at]jack.porter, [at]adam.kinge

[CL 22509223 by richard wallis in ue5-main branch]
2022-10-13 14:40:48 -04:00
axel riffard
c64aa2de93 Catalina, iOS 14 removal
Metal 2.3 removed, Metal 3.0 added for Mac

#jira UE-163352
#rb adam.kinge bertrand.carre
#preflight 631ea7eb94758d0bf2008668

[CL 21960671 by axel riffard in ue5-main branch]
2022-09-11 23:47:08 -04:00
bryan sefcik
f58e75e476 Pass 2 on cleaning up build.cs files.
#jira
#preflight 631b7a79304480f8f8b48580

[CL 21931324 by bryan sefcik in ue5-main branch]
2022-09-09 19:41:38 -04:00
david harvey
10b05a8cf3 Capture platform-specific project analytics for launching, cooking & packaging in the editor.
#jira UE-142191
#rb Brian.White, Wojciech.Krywult
#preflight 6319a11bd135b61bc5f729c9

[CL 21907474 by david harvey in ue5-main branch]
2022-09-08 19:33:14 -04:00
axel riffard
494b98c831 Remove Catalina support and Metal 2.2 from Mac.
#jira UE-149923
#rb jack.porter
#preflight 6315c60bf448dc6e58121822

[CL 21790515 by axel riffard in ue5-main branch]
2022-09-05 06:05:22 -04:00
phil popp
8716f75b0d Add SourceDataOverride to other platform settings
#jira UE-159924
#rb Jimmy.Smith
#preflight 62f52d78b66d5d93139ea4ce

[CL 21339572 by phil popp in ue5-main branch]
2022-08-11 13:19:54 -04:00
jimmy smith
b92f1fdf0d Configuration support for AudioInfos / AudioFormats per platform
#jira UE-159832
#rb Aaron.mcleran Phil.Popp Dan.Thompson Josh.Adams
#preflight 62d260033c3df323907eaa93

[CL 21153330 by jimmy smith in ue5-main branch]
2022-07-18 17:47:55 -04:00
charles bloom
0d6b70e857 fix TargetPlatform calls to GetDefaultTextureFormatNamePerLayer changed by 20227025
the bad value passed to BlockSize was not actually used so behavior was not actually broken

#preflight 628bb9cc016e5daa1cbc21e5
#rb jon.olick

[CL 20335399 by charles bloom in ue5-main branch]
2022-05-23 15:28:40 -04:00