Commit Graph

732 Commits

Author SHA1 Message Date
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
chris constantinescu 1aeb7faa75 LLT: Pre-analyse dependency graph of low level test targets before setting compilation flags for UE components
Use -Mode=Test by default for all LLT Project to enable pre-analysis of dependency graph.
#jira UE-193632
#rb Sean.Sweeney

[CL 28313218 by chris constantinescu in ue5-main branch]
2023-09-28 06:52:15 -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
josh adams f5bd6ebe86 - Fixed C# projects from being missing in VSCode projects on Mac/Linux
#rb tim.smith

[CL 27926470 by josh adams in ue5-main branch]
2023-09-15 14:42:22 -04:00
bryan sefcik 6d9b945de1 Updated all of the intellisense data gathering to be done in parallel.
Updated a few project generators to be thread safe.
Fixed an issue where the vproject generation wasn't deterministic.
Updated the project generation to output the total time it took to execute.

Before: 21.62 seconds
After: 17.56 seconds

#jira
#rb joe.kirchoff

[CL 27179702 by bryan sefcik in ue5-main branch]
2023-08-17 14:18:48 -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
jeff fisher d5fbfa08db UE-189611 ARImageDetection Fails to Launch on Android - Error: Unable to load plugin 'XRBase'
-The logic in NativeProjects.cs IsHybridContentOnlyProject which decides whether we need to build an executable for a project was always using the buildhost platform (usually win64) to decide which plugins were active.  This caused it to miss enabled code plugins that build for the actual target platform but not the host platform and potentially not do an executible build when one is required.
-Now we pass the TargetPlatforms for the current build into ConditionalMakeTempTargetForHybridProject so that we can test against them.  If any project in this list needs code built we will make a temp target.
#jira UE-189611 UE-192833
#rb Josh.Adams

[CL 27101769 by jeff fisher in ue5-main branch]
2023-08-15 10:07:26 -04:00
bryan sefcik 53cbe526bb Updated the debugger and cmdline arguments to be local or remote based on the host architecture.
#jira
[FYI] joe.kirchoff and josh.adams
#rnx

[CL 27078667 by bryan sefcik in ue5-main branch]
2023-08-14 14:20:12 -04:00
bryan sefcik 01b619ae9c Readded splitting up the architectures in VS. In the case of Win64, the name in VS stays the same(i.e. not Win64-x64) but the other architectures have the -<architecture> suffix. This gets around an issue where VS would reset the selected config/platform because the name changed.
#jira
#rb joe.kirchoff

[CL 27032388 by bryan sefcik in ue5-main branch]
2023-08-11 12:50: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
bryan sefcik ca12a1a2e0 Cleaned up the project generator API by passing a struct of commonly used arguments. This makes it easier for us to add/remove arguments.
#rb joe.kirchoff
#jira

[CL 26854215 by bryan sefcik in ue5-main branch]
2023-08-04 14:18:11 -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
bryan sefcik dd629c9b68 Turned off the creation of the additional platform/architectures options until I figure out a way to not have VS reset what current config/platform was previously selected.
[FYI] joe.kirchoff
#jira

[CL 26825507 by bryan sefcik in ue5-main branch]
2023-08-03 16:24:09 -04:00
bryan sefcik 33c066c2cc Updated the exe name logic to take into account the project/platform architecture when it is set.
#jira
#fyi joe.kirchoff

[CL 26821373 by bryan sefcik in ue5-main branch]
2023-08-03 14:51:09 -04:00
bryan sefcik 9a81ca5c26 Added support to have multiple architectures per platform in the VS sln/projects.
Updated the project generators to search the VS platform directory when HasVisualStudioSupport is called to find out whether a platform is supported. This fixes several issues where platforms were being generated like they were supported by the host machine but actually weren't.

#rb joe.kirchoff
#jira

[CL 26795017 by bryan sefcik in ue5-main branch]
2023-08-02 20:27:20 -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
robert millar a1f3e3d073 Allow bGatherThirdPartySource to be set from UBT xml config.
#rb joe.kirchoff
#jira none

[CL 26761842 by robert millar in ue5-main branch]
2023-08-01 19:52:59 -04:00
Ryan Hummer 3ebc0e1bcf Removing mono/xbuild part 1
* Updating references to use dotnet
* Add new RunDotnet scripts
* Removing Mono sh scripts and references to them

#rnx
#jira UE-153293
#rb josh.adams, zack.neyland, brandon.schaefer

[CL 26737744 by Ryan Hummer in ue5-main branch]
2023-08-01 10:02:58 -04:00