Commit Graph

207 Commits

Author SHA1 Message Date
josh adams
1490a189af - Split Mac target/deployment versions to have editor and non-editor versions
- Moved them into SDK.json
- Fixed up some deprecation warnings when tarrgeting macOS 13
- IOS is still using old .ini project setting method
#rb adam.kinge, carl.lloyd, zack.neyland

[CL 31651333 by josh adams in ue5-main branch]
2024-02-20 13:42:11 -05:00
josh adams
5165da7b7b - Fixed Unique BuildEnvironment editors to work with Modern Xcode correctly
#changelist validated
#virtualized

[CL 31528839 by josh adams in ue5-main branch]
2024-02-15 14:21:36 -05:00
josh adams
a25f5c0cc1 - Fixed Xcode proejct generation/compiling/booting for Vision Pro hardware
- Commandline in Xcode is now used, if we want Swift to set the CL, we'll have to pause the engine startup sooner
- Added auto-launch timer to the SwiftUI window for easier development (don't need to wear the VP) to debug startup crashes, etc
- Depth texture was too big, so halved the resolution of the viewports (work in progress)
- Currently asserting in XR code, or crashing in compositor services code
#rb Jeff.Fisher

#changelist validated
#virtualized

[CL 31347927 by josh adams in ue5-main branch]
2024-02-09 13:21:33 -05:00
calvin zheng
26de99eff3 UBT handling Privacy Manifest files for iOS and Mac
#jira UE-191438
#rb adam.kinge, zack.neyland

[CL 31138198 by calvin zheng in ue5-main branch]
2024-02-02 15:34:12 -05:00
calvin zheng
aefa44f4ba Move source files from editor projects to game projects
#jira UE-200317
#rb Josh.Adams

[CL 29874395 by calvin zheng in ue5-main branch]
2023-11-21 15:36:07 -05:00
josh adams
1295c76166 - Fix for Mac monolithic CookedEditors not getting staged data in their app. Modular cooked editors will stll be missing data
#rb manuel.veit

[CL 29848954 by josh adams in ue5-main branch]
2023-11-20 15:23:08 -05:00
josh adams
09672c36ad - Delete the staged dir inside a .app if the source staged dir is missing - this is so we don't use some stale dir insde the .app if the user wanted to delete it (mostly useful for Programs)
#rb adam.kinge, calvin.zheng

[CL 29755497 by josh adams in ue5-main branch]
2023-11-15 14:40:33 -05:00
calvin zheng
d460952917 Fix xcode would build UnrealLightmass for arm
#jira UE-199980
#rb Josh.Adams

[CL 29653439 by calvin zheng in ue5-main branch]
2023-11-10 15:43:34 -05:00
calvin zheng
8d6e633f99 Fixing multiple blocking modern xcode issues
#jira UE-198617
#rb Josh.Adams

[CL 29095687 by calvin zheng in ue5-main branch]
2023-10-25 14:06:59 -04:00
josh adams
d1ff7439a4 - Fixing product name in Xcode project for launching, not building/installing, when there is no ACTION
#rb zack.neyland

[CL 28645130 by josh adams in ue5-main branch]
2023-10-10 19:00:53 -04:00
josh adams
1abedddd2a - More fixes for Mac packaging/archiving issues
* 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)
[CONSIDER5.3]
#rb calvin.zheng
#jira UE-197465

[CL 28619839 by josh adams in ue5-main branch]
2023-10-10 10:52:53 -04:00
josh adams
c2437d9b07 - Fixed various 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)
  * For hybrid projects, don't append Game to the end of the Game target names, as that is the default, and it makes for better named products
  * 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
#jira UE-196297,UE-196299,UE-196296,UE-196300,UE-196295
#rb adam.kinge

[CL 28463729 by josh adams in ue5-main branch]
2023-10-04 13:25:29 -04:00
josh adams
f905f670fb - Fix a problem with BundleResources not being copied in to Mac and IOS .app bundles (plugin author reported - this is a feature Epic has not used)
#rb calvin.zheng
#jira UE-195538

[CL 27975320 by josh adams in ue5-main branch]
2023-09-18 17:12:52 -04:00
adam kinge
efb7b10e12 Fix tvOS missing LaunchScreen causing a crash on startup.
#jira UE-192454
#rnx
#rb josh.adams
#lockdown zack.neyland

[CL 27130552 by adam kinge in ue5-main branch]
2023-08-15 21:41:03 -04:00
josh adams
82ee4f70d5 - 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 27130271 by josh adams in ue5-main branch]
2023-08-15 21:33:02 -04:00
adam kinge
602131ca91 Fix missing launch image on iOS. Also fix AppIcon inverted logic for iOS.
#jira UE-192454
#rnx
#rb josh.adams
#lockdown zack.neyland

[CL 27122840 by adam kinge in ue5-main branch]
2023-08-15 17:54:41 -04:00
josh adams
0d157fcd25 - Changed the logic for Programs to allow for Resources to exist in Engine/Source/Programs/Foo/Resources/Mac (which was an existing place to put Mac resources) instead of Engine/Programs/Foo/Build/Mac. WIll be used in an upcoming changelist for some icons and plist fixes for UnrealInsigits and UnrealMultiUserServer. This will also be helpful for licensees that have icons in the old location
- Allow extra .apps to be staged into the final .app (like CrashReportClient.app)

#jira UE-192894,UE-192906
#rb zack.neyland

[CL 27112834 by josh adams in ue5-main branch]
2023-08-15 14:32:01 -04:00
josh adams
13dcf051b1 - Fixed an issue with naming of schemes in stub xcodeprojects when packaging BP projects (the previous method of checking TargetRules name doesnt account for the rename of UnrealGame to MyProjectGame)
#jira UE-192890
#rb zack.neyland

[CL 27108911 by josh adams in ue5-main branch]
2023-08-15 13:16:03 -04:00
axel riffard
94ea3fdc49 tvOS app icon fix for modern xcode
#jira UE-192009
#rb josh.adams

[CL 27108352 by axel riffard in ue5-main branch]
2023-08-15 13:07:25 -04:00
adam kinge
06a3585301 Required Metal shader compiler changes to support iOS Simulator. Set to disabled by default via "bEnableSimulatorSupport" in IOSRuntimeSettings.
#jira UE-168571
#rnx
#rb carl.lloyd, jack.porter
#lockdown jack.porter

[CL 27022463 by adam kinge in ue5-main branch]
2023-08-11 01:01:38 -04:00
josh adams
fafd488a40 - Fixed making .apps using a StagingDirectory override with code-based projects
#jira UE-189819, UE-189368
#rb trivial

[CL 26848281 by josh adams in ue5-main branch]
2023-08-04 11:34:16 -04:00
josh adams
65fbd954e5 - Changed how .dylibs in the Contents/MacOS directory are copied into Mac .apps (done directly instead of needing to be staged first)
#jira UE-191538
#rb calvin.zheng

[CL 26832937 by josh adams in ue5-main branch]
2023-08-03 19:21:32 -04:00
Josh Adams
574dc31ccb - Very very early support for UE running as a SwiftUI app:
- .ini settings for using SwiftUI main function
  - this will eanble #defines, etc, to enable some embedded style functionality in UE, where SwiftUI will trigger when to create the engine/view/etc
  - assume fully immersive mode, which uses CompositorServices to get drawables from SwiftUI land
  - Added some code to FMetalViewport for using Composotir layer/drawable instead of CoreAnimation layer/drawable
  - If the .ini setting is false, then it will use the original VIsionOS support which works generally in the simulator

- Also removed -lc++ commandline which was causing "duplicate -lc++" warning when building in recent Xcode

#rb adam.kinge

[CL 26769312 by Josh Adams in ue5-main branch]
2023-08-02 09:09:16 -04:00
adam kinge
c45436c5e5 Temporarily disable ios simulator root due to Horde issue.
#jira UE-168571
#rnx

[CL 26598828 by adam kinge in ue5-main branch]
2023-07-26 02:12:06 -04:00
adam kinge
e56126723a Additional UBT changes to support iOS Simulator:
- update Xcode build script to set correct arch when compiling within Xcode
 - set correct SDKRoot depending on sim vs device

#jira UE-168571

[CL 26597711 by adam kinge in ue5-main branch]
2023-07-26 01:01:43 -04:00