Reproduction steps:
1. Open the "IN-53589.zip" project
2. Close the Editor and build the project from the command line with the command: "
{PATH_TO_UNITY_EDITOR}
-batchmode -nographics -upmNoDefaultPackages -projectPath
{PATH_TO_PROJECT}
-logFile build_test.unity_app_log_test.txt -quit -buildTarget iOS -executeMethod TestBuild.BuildiOS"
3. Open the generated Xcode project located in "~/test/build" in Xcode
4. Build the Xcode project
Expected result: Xcode project build succeeds
Actual result: Xcode project build fails
Reproducible with: 2022.2.0a14, 2022.3.9f1
Not reproducible with: 2021.3.30f1, 2022.2.0a13, 2023.1.12f1, 2023.2.0b8, 2023.3.0a4
Reproducible on: macOS 13.4 (M1, Intel)
Not reproducible on: No other environment tested
Notes:
- The full error is in the internal notes
- Might fail with different errors
- Might also fail when building the project from the Top Menu → TestBuild → iOS