Commit Graph

647 Commits

Author SHA1 Message Date
adam kinge
30712598ea Temporarily disable ios simulator root due to Horde issue.
#jira UE-168571
#rnx

[CL 26598675 by adam kinge in 5.3 branch]
2023-07-26 02:06:38 -04:00
adam kinge
504c5cb247 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 26597655 by adam kinge in 5.3 branch]
2023-07-26 00:59:42 -04:00
josh adams
275cb69b2f Brought changes over from UE5/Main
- Fixing the name of the .app when staging/deploying a BP IOS project with modern
- Uses a new AppleExports function to call MakeBinaryFilename, so we can use standardized name format for the BP .app
- Fixed which .app is archived for BP projects (it was archiving the UnrealGame.app, not the finalized MyProject.app)

- Programs now no longer use Game/Client entitlements, but can set bUseEntitlementsForPrograms to true in the .ini if really needed
- Added an Unrestricted.entitlements, an empty entitlements file
- Changed Programs to find the .ini for codesigning, without needing a .uproject

- Fixed path to strip to add a missing slash
- Pass -legacyxcode along to the legacy PostBuildSync step to make sure it uses legacy when overriding the .ini setting
- Added -legacyxcode commandline handler for legacy PostbuildSync

#jira UE-190517
#jira UE-189830
#rb various

[CL 26592555 by josh adams in 5.3 branch]
2023-07-25 18:39:53 -04:00
christopher waters
95ea0ff61a Adding UnrealIntermediateEnvironment to allow different intermediate paths based on build settings.
This removes the old hack that renames the target based on nonunity being set while also adding a new intermediates folder for IWYU.

#jira UE-190274
#rb joe.kirchoff

[CL 26514773 by christopher waters in 5.3 branch]
2023-07-21 12:03:57 -04:00
joe kirchoff
10301fef85 UnrealBuildTool: Allow configuring toolchain and toolchain version to control what msvc version is used when clang is used to compile
#rb Tim.Smith

[CL 26449760 by joe kirchoff in 5.3 branch]
2023-07-18 18:08:05 -04:00
bryan sefcik
97a993d0d4 Moved the default VS include paths to the common file.
#jira

[CL 26449732 by bryan sefcik in 5.3 branch]
2023-07-18 18:06:50 -04:00
calvin zheng
3cbb71e895 - Yet another fix, this time for UnrealEditor standalone with clean build
#rb self

#ushell-cherrypick of 26159153 by Josh.Adams

[CL 26159286 by calvin zheng in 5.3 branch]
2023-06-21 15:39:06 -04:00
calvin zheng
4b612a259b - Fixed errors with plugin modules failing to find a project to put into (better fix then yesterday's for the AdditionalPluginDirectories)
#rb self
#[robomerge] 5.3

#ushell-cherrypick of 26156103 by Josh.Adams

[CL 26156426 by calvin zheng in 5.3 branch]
2023-06-21 14:26:53 -04:00
calvin zheng
fb7cad540f - Fix crash with UnrealEditor builds, caused by earlier fix for AdditionalPluginDirectories warning
#rb trivial

#ushell-cherrypick of 26140047 by Josh.Adams

[CL 26152798 by calvin zheng in 5.3 branch]
2023-06-21 12:30:58 -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
calvin zheng
db892aed9d - Moved the SingleTargetName property up to ProjectFileGenerator from Xcode generator, and use it to remove Targets from the list to be processed. This is useful because when modern Xcode creates a stub xcode project for a Program, it has no uproject to use with "-game -project", so the GPF code would process all .Target.cs files, which can lead to warnings about missing AdditionalPluginDirectories (build machines may not fully sync a stream, and processing every Target can cause unexpected problems)
#rb joe.kirchoff

#ushell-cherrypick of 26132088 by Josh.Adams

[CL 26152295 by calvin zheng in 5.3 branch]
2023-06-21 12:04:21 -04:00
josh adams
3aabbf9009 - Removed some debugging logs
#rb trivial

[CL 26101552 by josh adams in 5.3 branch]
2023-06-19 15:39:42 -04:00
adam kinge
5a219beeb3 Support iPad SplitView (dynamic resizing) and StageManager
#jira UE-168563
#rb jack.porter

[CL 26057533 by adam kinge in 5.3 branch]
2023-06-16 12:41:13 -04:00
josh adams
7f076f4ee0 - For temp single target projects, put the targetname into the workspace name, so that multiple program targets being compiled/finalized at once don't all write to the same workspace file
#rb none

[CL 26001703 by josh adams in ue5-main branch]
2023-06-14 21:32:57 -04:00
joe kirchoff
b9d5be3238 UnrealBuildTool: Add msvc conformance flags to generated projects for intellisense
#rnx
#jira none
#rb Bryan.Sefcik
#lockdown Aurel.Cordonnier

[CL 25998354 by joe kirchoff in ue5-main branch]
2023-06-14 18:33:35 -04:00
Rafa Lecina
9f1574f2ad Fix folder issues in Xcode for programs not under Engine folder
Also force being a bundled application for iOS and TVOS since they don't support not being bundled

#review @Josh.Adams
#jira UE-166445

[CL 25973014 by Rafa Lecina in ue5-main branch]
2023-06-14 03:54:47 -04:00
Josh Adams
29e1d190e2 - Fixed project generation for code plugins under hybrid temp targets
[CL 25954295 by Josh Adams in ue5-main branch]
2023-06-13 12:05:44 -04:00
joe kirchoff
e63f39e009 UnrealBuildTool: Fix failure to open/browse to source file in Visual Studio
* Write PrimaryProjectPath.txt with the location of the solution, this could be different than the root depending on project gen arguments
* Update SourceCodeAccessor accordingly to get the correct path to the solution, maintaining old defaults if the PrimaryProjectPath.txt file is not found

#rnx
#jira UE-114382

[CL 25935357 by joe kirchoff in ue5-main branch]
2023-06-12 15:33:56 -04:00
calvin zheng
7f1888d75b Partial fix for modern Xcode would build with no code change
Remove outdated xcworkspace files when GPF with new modernXcode settings

#rb Josh.Adams, Zack.Neyland

[CL 25933128 by calvin zheng in ue5-main branch]
2023-06-12 14:56:21 -04:00
KXOC
1565be65b4 Replace list of quest devices in packaging settings with checkbox to package for all quest devices.
Also updating VRTemplate to create projects with the new settings and removing daydream deploy logic.

#jira UE-183636
#rb jeff.fisher robert.srinivasiah

[CL 25895938 by KXOC in ue5-main branch]
2023-06-09 11:58:31 -04:00
josh adams
9483bd40f5 - Fixed ModernXcode when a program has a ExeBinariesSubFolder
#rb trivial

[CL 25893367 by josh adams in ue5-main branch]
2023-06-09 10:41:06 -04:00
joe kirchoff
c2917fa859 UnrealBuildTool: Filter out programs when generating projects if they're not located under Source/Programs after the TargetRule is created
#rnx
#rb trivial

[CL 25860547 by joe kirchoff in ue5-main branch]
2023-06-07 18:15:41 -04:00
josh adams
11028c13f4 - Fixed a crash when generating some Xcode stub projects for commandline building. I could not repro, but this fix works for someone that could
#rb adam.kinge

[CL 25857364 by josh adams in ue5-main branch]
2023-06-07 16:43:13 -04:00
bryan sefcik
450934b44f Support to compile separate files in VS using the "Compile" menu item when you right click on the files.
[FYI] joe.kirchoff
#rb christopher.waters
#jira

[CL 25829893 by bryan sefcik in ue5-main branch]
2023-06-06 17:48:11 -04:00
josh adams
7da8c50033 - Fixed location of where EnsureXcodeProjectExists() looks for BP projects
- Fixed warning about SDKROOT[sdk=macosx] type warnings with legacy Xcode
#rb axel.riffard,tim.smith

[CL 25796956 by josh adams in ue5-main branch]
2023-06-05 13:25:48 -04:00