ITMS-91053: Missing API declaration

Same case here; we need to prepare a near submission with UE5.2.

Here is my change; it may be simpler than all the above ways. Just add the following to one of your game modules’ (YourGameModule).build.cs

#if !UE_5_3_OR_LATER
		// Adding PrivacyInfo.xcprivacy file, which Apple mandated, to ipa bundle in lower UE5 versions( < UE5.3) that don't support it natively
		if (Target.Platform == UnrealTargetPlatform.IOS)
		{
			AdditionalBundleResources.Add(new BundleResource(Path.Combine(Target.ProjectFile.Directory.ToString(), "Build/IOS/Resources/UEMetadata/PrivacyInfo.xcprivacy")));
		}
#endif

And I agree with @NiizOP that this does not need to be modified at the engine level. As the sole UE engine code maintainer in my team, I always tried to keep changes in the project level as much as possible to make my life easier when upgrading the engine(4.27->5.0, 5.0->5.2, and 5.2->maybe 5.4 later)

1 Like