"UI/SplashScreen.h" not found in macos exported project with unity2022.3.24

“UI/SplashScreen.h” is not found in macos exported project with unity2022.3.24, but when build this project, the “UI/SplashScreen.h” is needed in UnityAppController.mm.

PS. In unity2020.3.24, the “UI/SplashScreen.h” is found in Editor\Data\PlaybackEngines\iOSSupport\Trampoline\Classes\UI

I wonder how to fix this problem.

Hi. Check your project for outdated external plugins that can change the UnityAppController. I also advise you to check if you have any code that inherits IPostprocessBuildWithReport and changes UnityAppController after the build. Good luck!