Commit Graph

286 Commits

Author SHA1 Message Date
Rafa Lecina
908cc56236 Remove some customizations from iOS and TvOS builds
#review-23193114 @Sam.Zamani, @Bertrand.Carre, @Josh.Adams
#preflight

[CL 23218558 by Rafa Lecina in ue5-main branch]
2022-11-21 04:28:08 -05:00
Rafa Lecina
9fac4f4498 Set arm64 as default architecture for iOS.
There is only support for that one and that fixes Architecture argument being empty when selecting the XCFramework path

https://horde.devtools.epicgames.com/log/63742faa8f4cb2e4dc1242cc?lineindex=59
```
WARNING: Variant for platform "IOS" with architecture  not found in XCFramework FBAEMKit.
WARNING: Variant for platform "IOS" with architecture  not found in XCFramework FBSDKCoreKit_Basics.
WARNING: Variant for platform "IOS" with architecture  not found in XCFramework FBSDKCoreKit.
WARNING: Variant for platform "IOS" with architecture  not found in XCFramework FBSDKLoginKit.
WARNING: Variant for platform "IOS" with architecture  not found in XCFramework FBSDKShareKit.
```

#review @Sam.Zamani, @Bertrand.Carre, @Chris.Varsnverry, @Josh.Adams
#preflight

[CL 23152390 by Rafa Lecina in ue5-main branch]
2022-11-16 06:28:32 -05:00
Rafa Lecina
03b4a563b1 Update FacebookSDK iOS on OnlineSubsystemfacebook
Removed all deprecated functionality and left a common set of functionality on all implementations (REST, Android and IOS)
Removed old Facebook SDK framework and used latest Facebook SDK XCFramework(v15.0.0). New Facebook files added in a different review to avoid noise
Enabled ARC for module. It also needs linking against Swift standard library
Depends on:
 https://p4-swarm.epicgames.net/reviews/22775386: Add support to enable ARC in modules
 https://p4-swarm.epicgames.net/reviews/22810334: Link against Swift standard library
 https://p4-swarm.epicgames.net/changes/23002644: Add support for XCFramework in UBT
 https://p4-swarm.epicgames.net/reviews/23025630: Add Facebook SDK v15.0.0 XCFramework
Moved out Facebook settings additions into Info.plist from UBT and added using an UPL file

#jira UE-162598
#review @Sam.Zamani, @Bertrand.Carre, @Chris.Varnsverry
#preflight

[CL 23133825 by Rafa Lecina in ue5-main branch]
2022-11-15 06:03:38 -05:00
Rafa Lecina
4e08b2ba53 Add support for XCFramework to UBT on iOS
#jira UE-168983
#review-23009903 @Sam.Zamani @Bertrand.Carre @Chris.Varnsverry @Roman.Dzieciol @Josh.Adams @Jack.Porter
#preflight

[CL 23133403 by Rafa Lecina in ue5-main branch]
2022-11-15 04:20:41 -05:00
Josh Adams
2e03486229 - Remove unused orientation parameters from GeneratePList, etc functions
#rb trivial
#preflight 63517e3e3d41a4455a390431

[CL 22661134 by Josh Adams in ue5-main branch]
2022-10-20 13:07:40 -04:00
josh adams
b4b723bfa6 - More modernization of Xcode, focusing on Mac, IOS plist still needs a lot of work
- Premade "template" plist files for Mac, MacEditor, IOS, and added a PlistMode to choose between updating a template plist (from engine) or using a "baked" out plist that Xcode won't really mess with (this is still a work in progress, as it still needs thought on how to handle IOS premade vs Mac template, etc)
- Updating icons to using xcassets instead of .icns file
- Added post build step for UBT to write out build versions (increments each build) to a .xcconfig for Xcode to put into the .plist, but it reads previous value. Not terrible, but it still  needs work

#rb adam.king
#preflight 632c7e8ee23e50651b43139b

[CL 22137251 by josh adams in ue5-main branch]
2022-09-22 11:42:27 -04:00
adam kinge
47d47510ab Add a static library version check for iOS/tvOS and Mac. A BuildException will be thrown if a library is not built with the minimum supported Xcode (13.4.1 or earlier for 5.1).
#jira UE-151508
#review-21059319
#preflight 62cdaa973d7ef9abccf8215b

[CL 22112491 by adam kinge in ue5-main branch]
2022-09-21 10:23:44 -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
Josh Engebretson
842674765e Another fix for build in ios toolchain
#jira none
#preflight none
#rnx

[CL 21547939 by Josh Engebretson in ue5-main branch]
2022-08-24 14:39:35 -04:00
Josh Engebretson
197c89818a Fix issue with ios logger to unblock builds
#fyi josh.adams
#jira none
#preflight none

[CL 21547692 by Josh Engebretson in ue5-main branch]
2022-08-24 14:30:48 -04:00
Josh Adams
f9d61b7246 - Fixed a bug with stub IPAs
- Re-disabled automatic code signing
#rb trivial
#preflight skip

[CL 21547157 by Josh Adams in ue5-main branch]
2022-08-24 14:11:33 -04:00
Josh Adams
2060045e96 - More work on "modern xcode" mode (automatic signing works well, xcode can generate plists/entitlements, shared settings between Mac/IOS/TVOS). Needs the bUseModernXcode ini setting (see BaseEngine.ini) to activate
- Indexing improvements
- No longer asks to auto-create schemes, since we create all schemes needed
- Sped up the run-only project generation to skip a lot of cruft

#preflight 63041e960061f895d0fe3ccf
#rb ian.fox,roman.dzieciol (i am submitting without their final sign-off)
#preflight 63051c23516bef57ffb5b1c2

[CL 21517539 by Josh Adams in ue5-main branch]
2022-08-23 15:40:10 -04:00
UnrealBot
73409369c0 Branch snapshot for CL 21319338
[CL 21319338 in ue5-main branch]
2022-08-10 16:03:37 +00:00
Joe Kirchoff
992b37b7cf UnrealBuildTool: Ignore build outputs when analyzing
#jira UE-160043
#rnx
#rb trivial
#preflight 62d89e741133256db65e2400

[CL 21202249 by Joe Kirchoff in ue5-main branch]
2022-07-21 12:07:06 -04:00
Joe Kirchoff
c5ca8db060 UnrealBuildTool: Allow PCH when running the clang analyzer
#rb trivial
#rnx
#preflight 62d73a1f164251d065f9d9df

[CL 21169279 by Joe Kirchoff in ue5-main branch]
2022-07-19 19:43:55 -04:00
Joe Kirchoff
fb0b2693d2 UnrealBuildTool: Revert ios linker arg to -Wl-no_pie
#rnx
#rb trivial
#preflight skipped

[CL 21065841 by Joe Kirchoff in ue5-main branch]
2022-07-12 19:39:52 -04:00
Joe Kirchoff
7eeed9f355 UnrealBuildTool: link arguments as list for ios & mac
#rnx
#rb trivial
#preflight 62cdd57ac43f0e80cd8f0e5c

[CL 21063127 by Joe Kirchoff in ue5-main branch]
2022-07-12 16:54:17 -04:00
Joe Kirchoff
b014cedff5 UnrealBuildTool: IOS linker arg -no_pie -> -no-pie
#rnx
#rb trivial
#preflight skipped

[CL 21063007 by Joe Kirchoff in ue5-main branch]
2022-07-12 16:48:21 -04:00
Joe Kirchoff
5ef701b076 UnrealBuildTool: Clean up clang toolchain paths and versioning.
Remove need for most of the derived classes to override CompileCPPFiles

#rnx
#rb trivial
#preflight 62cc8862f22e9d4fdf79a882

[CL 21047169 by Joe Kirchoff in ue5-main branch]
2022-07-11 16:55:46 -04:00
Joe Kirchoff
d1c3e422f7 UnrealBuildTool: Support running static code analysis -StaticAnalyzer=Clang for clang toolchains.
Static code analysis automatically disables linking and pch. Dependency checking does not work as no output file is written.

#rnx
#rb none
#preflight 62c6012f3c5171c81719930d

[CL 20974504 by Joe Kirchoff in ue5-main branch]
2022-07-06 17:59:44 -04:00
Joe Kirchoff
9cf9210fb0 UnrealBuildTool: Support two-pass CLANG_STATIC_ANALYZER_MODE for all clang platforms
#rnx
#rb none
#preflight 62c4b68ab47aed4cf1c06c0c

[CL 20951826 by Joe Kirchoff in ue5-main branch]
2022-07-05 18:40:43 -04:00
Joe Kirchoff
a29460d1c3 UnrealBuildTool: Reconcile compile action logic to ClangToolChain.CompileCPPFile
#rnx
#rb none
#preflight 62c47ad42823f28cf2351ae4

[CL 20946880 by Joe Kirchoff in ue5-main branch]
2022-07-05 14:48:11 -04:00
Joe Kirchoff
5767bdf3c1 UnrealBuildTool: Override for clang additional arguments
#rb trivial
#rnx
#preflight 62bf40693f0d6beee2e9b016

[CL 20919016 by Joe Kirchoff in ue5-main branch]
2022-07-01 15:02:48 -04:00
Joe Kirchoff
07609ca984 UnrealBuildTool: Reconcile file type specific clang arguments
#rnx
#rb none
#preflight 62bdecf73f0d6beee29aee57

[CL 20901126 by Joe Kirchoff in ue5-main branch]
2022-06-30 15:00:14 -04:00
axel riffard
df6740fdbe Set minimum version to iOS14 in IOSPlatformSDK
#jira none
#rb none
#preflight 62bd406f1c0b75879702fbf2

[CL 20889523 by axel riffard in ue5-main branch]
2022-06-30 02:25:14 -04:00