lunar-unity-console icon indicating copy to clipboard operation
lunar-unity-console copied to clipboard

"No Such File Or Directory" When building in XCode after moving the Unity Project

Open BGames31 opened this issue 5 years ago • 3 comments

Steps

  1. Build with Unity, generate xCode Project
  2. Move Unity project to another folder or hard drive.
  3. Try to Build. The following error appears: Captura de Pantalla 2020-11-17 a la(s) 12 18 02

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!

BGames31 avatar Nov 17 '20 11:11 BGames31

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?

weeeBox avatar Nov 17 '20 14:11 weeeBox

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!

BGames31 avatar Nov 18 '20 08:11 BGames31

Thanks for clarifying. Can you check if:

  • LunarConsole folder exists in your iOS build output folder
  • Libraries/Lunar Console folder group exists in Xcode

weeeBox avatar Nov 18 '20 14:11 weeeBox