"No Such File Or Directory" When building in XCode after moving the Unity Project
Steps
- Build with Unity, generate xCode Project
- Move Unity project to another folder or hard drive.
- Try to Build. The following error appears:

Not related to the LUNAR_CONSOLE_EXPORT_IOS_FILES solution. I guess the unity_native_interface.m is not included in the xCode project but I can't figure out why, and we can't depend on the Unity project being in the same place forever. Thanks for your time!
Hey @BGames31,
I'm not sure what you mean by "Not related to the LUNAR_CONSOLE_EXPORT_IOS_FILES solution." Would you be able to clarify?
Hey, of course excuse me, I meant that I know there is a similar issue that is resolved by putting "LUNAR_CONSOLE_EXPORT_IOS_FILES" in the Scripting Define Symbols field of Project Settings, which we already did but it doesn't seems to fix it. Thanks!
Thanks for clarifying. Can you check if:
LunarConsolefolder exists in your iOS build output folderLibraries/Lunar Consolefolder group exists in Xcode