How to reproduce:
1. Download and open the attached "My Project" project
2. Build the project for MacOS with "Create Xcode Project" enabled
3. Observe the console window
Expected outcome: No errors appear in the console window
Actual outcome: "ArgumentNullException: Value cannot be null. Parameter name: key" error appears in the console window
Reproduced with: 2021.3.30f1, 2022.3.10f1, 2023.1.14f1, 2023.2.0b10, 2023.3.0a6
Reproduced on: MacOS 13.5.2 (Intel), MacOS 13.4 (Intel)