When I try to compile I get the following error:
“Info [2/2] sh -c ‘rm -rf “/Users/thomasjmeehan/Documents/Unreal Projects/MyProject/Binaries/Mac/UE4Editor-MyProject-2423.dSYM”; "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/"dsymutil -f “/Users/thomasjmeehan/Documents/Unreal Projects/MyProject/Binaries/Mac/UE4Editor-MyProject-2423.dylib” -o “/Users/thomasjmeehan/Documents/Unreal Projects/MyProject/Binaries/Mac/UE4Editor-MyProject-2423.dSYM”’”
“Info error: cannot parse the debug map for “…/MyProject/Binaries/Mac/UE4Editor-MyProject-2423.dylib”: No such file or directory”
Compiling in Xcode works just fine, but I cannot compile in the editor at all.
Any help would be greatly appreciated.
EDIT: Basically another identical issue in a completely separate project.
Hey -
Are you able to use the in editor compile button on a new project or do you get the same message? Did you being to get this after adding specific code to the project and if so, can you share what that code was? Please include any information that would help me investigate or reproduce this issue locally.
Cheers
Yes, I can use the in editor compiler in a new project. The two screenshots /error messages you see are two separate occurrences of the same/ similar issue that occurred at seemingly random moments after the in editor compiler working just fine. No specific code seems to be causing the issue. It just seems like the compiler randomly decides it needs to link a file it doesn’t have (or possibly never had).
EDIT: Reverting to an earlier version of the project that did compile, then replacing the source files with the most recent ones (AKA the ones from the build that wouldn’t compile) results in the project compiling successfully, but this is a workaround at best. Since it seems to happen randomly during development independent of source code the bug is definitely still relevant.
EDIT2: Just kidding, now that won’t even work.
Hey -
I have tried using the in editor compile button under different circumstances and have not seen this error. Because it appears to be looking for a file in the Binary folder for the project, can you try closing the project and removing / deleting the Binary folder when this occurs? When the project is reopened it will likely prompt you that a .dll need to be rebuilt but will then recreate the folder when the project opens. Let me know if you still have the same error after doing this.
Hi ,
We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.
Thank you.