Search Issue Tracker


Fixed in 2023.1.0a23



Found in


Issue ID




[IL2CPP][2023.1] Xcode Build fails with "no such file or directory" when building an exported project as universal binary with Script Debugging enabled



Reproduction steps:

# Open the user’s attached project
# Go to File > Build Settings
# In the Build Settings, check these options: Create XCode Project, Development Build, Script Debugging.
# Build the project
# Run the exported project in XCode.

Expected result: Build is played
Actual result: Build is failed with “Showing Recent Messages /[build directory]/clang:1:1: no such file or directory: 'Il2CppOutputProject/IL2CPP/libil2cpp/pch/pch-c.h'“

Reproducible with: 2023.1.0a2, 2023.1.0a18
Not reproducible with: 2020.3.41f1, 2022.1.23f1, 2022.2.0b15, 2023.1.0a1

Reproducible on: MacOS 12.6 (M1), MacOS 13.0 (M1), MacOS 12.6 (Intel)

Comments (2)

  1. ETGgames

    Feb 15, 2023 14:12

    this also happens without script debugging

  2. ETGgames

    Feb 13, 2023 11:28

    Can this be fixed in 2022.2? Its quite a critical bug…

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.