How to reproduce:
1. Create a new project using Windows OS
2. Build it for the iOS platform and transfer the built project to macOS
3. Deploy the project to an iOS device and observe the result
Expected result: No errors
Actual result: “Command PhaseScriptExecution failed with a nonzero exit code” error appears
Reproducible with: 2022.2.0a14, 2022.2.0b16, 2023.1.0b2
Not reproducible with: 2020.3.44f1, 2021.3.17f1, 2022.2.0a13
Reproduced on:
VLNQA00494 - iPhone 14 Pro Max, 16.0.3 iOS
VLNQA00358 - iPhone 12, 14.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS
VLNQA00310 - iPad Pro 12.9", 13.4.1 iOS
Note: Reproduced using macOS 12.4 (Intel) and Windows 11