Commit Graph

145 Commits

Author SHA1 Message Date
Josh Adams
cf110e2444 - Fixed codesigning of Content only projects
#jira UE-182870
#rb calvin.zheng
#preflight 643499034c3ccbbdf190f66b

[CL 24986156 by Josh Adams in ue5-main branch]
2023-04-10 19:24:00 -04:00
Josh Adams
1e6ed89565 - Frameworks working on Mac with Modern Xcode just like IOS frameworks
- Update frameworks with a Framework mode to differentiate between linking with it and copying to .app (in case of a static lib framework, or load-only dylib
- Updated CEF3 to work as a normal framework (if we have a universal framework binary, it would be simpler, because LoadInMain() would work without any paths)
#rb roman.dzieciol
#preflight 643484117536ac6b78ae7ce3

[CL 24985043 by Josh Adams in ue5-main branch]
2023-04-10 18:08:40 -04:00
Josh Adams
4c3471b8a7 - After staging, Modern xcode projects will build with stub xcode project to generate a complete .app in the root of the staging directory (tested Mac and IOS)
- Fixed up scripts for copying files into mac .app with modern xcode
- Changed bIncludeEngineSource being false to not remove game/samples/mods/etc from projects (only stub xcode projects set it to false, afaict)
#rb zack.neyland
#preflight 642cc4c21d19c0312af476c0

[CL 24922909 by Josh Adams in ue5-main branch]
2023-04-04 20:54:06 -04:00
zack neyland
4a4cb1e663 - Fixed an issue with Xcode having stale bundle identifiers when codesigning BP projects (something old was being cached in Xcode's build cache, this change will force the bundle ID to be there so the cache won't cause problems)
#jira UE-174034
#rb adam.kinge
#preflight https://horde.devtools.epicgames.com/job/642ca39ef376ab43d2979d6c

[CL 24922333 by zack neyland in ue5-main branch]
2023-04-04 20:08:36 -04:00
calvin zheng
ee46c2c210 Fix Xcode build on Development config, VALID_ARCHS was not using the correct apple name
#jira UE-181647
#rb Josh.Adams. Zack.Neyland
#preflight 642471b6e11ce5214fa27791
#lockdown Rolando.Caloca

[CL 24849439 by calvin zheng in ue5-main branch]
2023-03-29 21:29:42 -04:00
calvin zheng
10eb3b947a Revert the change of c++11 narrowing warning, it was still erroring
#rb Zack.Neyland
#preflight n/a

[CL 24827082 by calvin zheng in ue5-main branch]
2023-03-28 17:20:47 -04:00
calvin zheng
71db51d18d fix system include which caused some files fail to index, also disable all warnings for index
#rb Josh.Adams
#preflight n/a

[CL 24762977 by calvin zheng in ue5-main branch]
2023-03-23 11:58:01 -04:00
Josh Adams
e449e43c2a - Updating making Mac builds with modern xcode to stage files into the .app via xcode
- Mac and IOS both now run a script in Xcode to rsync from StagedBuilds into the .app
- Mac now generates and runs the xcode project after building (PostBuildSync like IOS) to codesign and pull in staged data, using a new ApplePostBuildSync class to share with IOS
- Added a SingleTarget mode to XcodeProjectGenerator to make a minimal project for PostBuildSync
#rb zack.neyland
#preflight 641a7276bb1320be4166c3fc

[CL 24745546 by Josh Adams in ue5-main branch]
2023-03-22 07:24:29 -04:00
calvin zheng
1b8a9d80ff Disable Xcode header map and a specific C++11 warning. Now almost all files can be compiled for indexing, only 10 files still has errors
#rb Josh.Adams
#preflight n/a

[CL 24725055 by calvin zheng in ue5-main branch]
2023-03-20 17:59:51 -04:00
calvin zheng
a5b5b75c1d Fix typo that flipped -frtti and -fno-rtti
#rb Josh.Adams
#preflight n/a

[CL 24692605 by calvin zheng in ue5-main branch]
2023-03-17 14:00:11 -04:00
calvin zheng
4e184cbeff Use direct include in Mac indexing response files, this resolves majority of indexing compile fails.
#rb Josh.Adams
#preflight n/a (not affecting Horde build)

[CL 24678182 by calvin zheng in ue5-main branch]
2023-03-16 16:11:38 -04:00
Josh Adams
297f950d3b Modern Xcode changes
- Removed Payload from IOS Binaries subdir (this is needed for archiving envvar changes below)
- IOS .app's now have decorated names (QAGame-IOS-Debug.app)
- Archiving works now, with dSYMs, for all platforms, and can be uploaded directly to app store in xcode
- Updated some envvars, main thing is no longer overriding BUILD_CONFIGURATION_DIR because it breaks Archiving
- No longer force dsym generation in UBT when building shipping (in modern) because xcode will do it now when archiving (will make iterating on Shipping much faster now!)
#rb roman.dzieciol
#preflight 6410e097290c6e5d77171aee

[CL 24644843 by Josh Adams in ue5-main branch]
2023-03-14 17:22:48 -04:00
Josh Adams
67a4d5a6c3 - Big cleanup of Modern mode to simplify the .xcconfig files, and the generating code, as well as moveing less used stuff to other files
#rb zack.neyland
#preflight 640ba2b3482188d7105847b8

[CL 24598221 by Josh Adams in ue5-main branch]
2023-03-10 16:46:12 -05:00
Ben Marsh
7e26c34d2b EpicGames.Core: Deprecate legacy log methods to prefer structured logging interface.
#preflight 640a23d928026468d9de7cbd

[CL 24580590 by Ben Marsh in ue5-main branch]
2023-03-09 14:51:40 -05:00
Josh Adams
0842a7adb3 - Added Framework support in Modern Xcode projects - this will copy and code sign frameworks directly via Xcode, instead of UBT doing it
#rb zack.neyland
#preflight 64078e282559570cc7f40fe2

[CL 24545611 by Josh Adams in ue5-main branch]
2023-03-07 14:28:06 -05:00
calvin zheng
17f2b6268e Revert 5.1 QFE, make sure universal build works on installed build
#jira UE-179161
#preflight 64011dc4d249add4a2ff63c2
#rb Josh.Adams
#lockdown Rolando.Caloca

[CL 24525334 by calvin zheng in ue5-main branch]
2023-03-06 13:03:37 -05:00
josh adams
33568d64fa - Fixed warning about always running a script phase in Legacy XcodeProjects
#jira UE-169940
[REVIEW] Calvin.Zheng
#preflight 63ffa133e32cdb7d9ad23737

[CL 24470089 by josh adams in ue5-main branch]
2023-03-01 16:02:32 -05:00
Josh Adams
c27379e9d2 Modern xcode changes
- .app is now fully made by Xcode, not partially by UBT/UAT (exe is copied into .app via shell script, and "cookeddata" is a folder reference in the Xcode proejct - for IOS/TVOS only for now)
- Updated how metadata files are found in the Metadata class, and template plist files are now called Info.Template.plst
- A prebuild script does some prep work to help with Xcode and UBT interaction, and the way our legacy build locations mess with Build after Archive
- Fixed some ".app" issues where the PRODUCT_NAME was missing
#rb self
#preflight 63f8fed82b1a2765f986f63f

[CL 24404636 by Josh Adams in ue5-main branch]
2023-02-24 13:35:13 -05:00
Josh Adams
f4a23e2682 - Removed warning that the Sign Framework script would always run, with legacy xcode IOS projects
#rb tim.smith
#jira UE-169940
#preflight 63f5125c26233b957f762df1

[CL 24345711 by Josh Adams in ue5-main branch]
2023-02-21 14:07:23 -05:00
Josh Adams
371cba8fd8 - Fixed legacy Xcode project commandlines
#rb Silviu.Stancescu (tested)
#preflight skip

[CL 24325924 by Josh Adams in ue5-main branch]
2023-02-20 16:31:09 -05:00
Josh Adams
fb899b4003 - Missed a check for bMakeProjectPerTarget hceck in legacy xcode projects
#preflight skip
#rb trivial

[CL 24290423 by Josh Adams in ue5-main branch]
2023-02-17 15:55:46 -05:00
Josh Adams
4d71a93586 - Added ability to have a IDE project for each Target (UnrealGame vs UnrealEditor) and remove the Type from the Configurations (Debug, Development, etc - no more Development Editor config)
- Enabled for Xcode, added support but left disabled for VisualStudio
- For Games and Samples with multiple projects, a solution folder now contains them
#rb joe.kirchoff
#preflight 63efb20061378b7ea02bc32d

[CL 24285567 by Josh Adams in ue5-main branch]
2023-02-17 12:53:28 -05:00
Josh Adams
e3c192269b - Working on improving IOS Plist generation, with UBT making a template plist project that Xcode will finalize, or project can use a fully premade plist
- Mac/MacEditor can also have template/premade plist files
- Legacy xcode mode will still write the entire plist file
#rb adam.kinge
#preflight 63d98f3265738ba951fb76f2

[CL 23939508 by Josh Adams in ue5-main branch]
2023-01-31 17:20:49 -05:00
josh adams
a90c774351 - Fixed non-Development plist naming when packaging before doing a Development package
#jira UE-175385
#preflight 63d4b6a3d21dbe1d297b59e2

[CL 23923435 by josh adams in ue5-main branch]
2023-01-31 01:15:57 -05:00
josh adams
21945ad416 - Fixed IOS/TVOS codesigning in InstalledBuild (caused by an issue when forcing InstalledBuilds to be Intel only on Mac - it was making all platforms Intel!)
#rb adam.kinge
#jira UE-174364
#preflight 63d43b23d21dbe1d2947f95b

[CL 23923424 by josh adams in ue5-main branch]
2023-01-31 01:15:41 -05:00