Search Issue Tracker

Fixed in 2022.2.X

Votes

0

Found in

2021.2.0a9

2021.3

2021.3.0f1

2022.1

2022.2

Issue ID

1421027

Regression

Yes

Fatal "'.h' file not found" error is thrown when building Xcode project

MacOS

-

How to reproduce:
1. Open the user's attached project
2. Go to File -> Build Settings
3. Enable "Create Xcode Project"
4. Make sure that IL2CPP Scripting Backend is used (Player Settings -> Other Settings)
5. Select Build
6. Open the built Xcode project file
7. Select "Start the active scheme" (triangle icon)

Expected result: the Xcode project is built and run
Actual result: the Xcode build fails with errors (Command PhaseScriptExecution failed with a nonzero exit code, fatal error: 'Test.h' file not found)

Reproducible with: 2021.2.0a9, 2021.3.2f1, 2022.1.0f1, 2022.2.0a10
Not reproducible with: 2019.4.38f1, 2020.3.34f1, 2021.2.0a8, 2022.2.0a11, 2022.2.0a12

Notes: reproducible on macOS

  1. Resolution Note (fix version 2022.2):

    Fixed in 2022.2.0a11

Add comment

Log in to post comment