This did get me around the permissions error, but I got even more system build errors referring to missing namespaces afterwards. I think I’ll probably just go back to 4.25
Thank you! This worked for me on Intel MBP and M1 MBP for UE 4.26 and XCode 12.2. The main thing is to delete the project cache after changing access rights.
Were you able to solve the problem?
“The type or namespace name ‘Tools’ could not be found”
You need to do everything as written above … Edit the permissions to the engine files, then delete the intermediate and binaries folders of your project. After that, generate a new XCode project. Works for intel and M1.
Thank you so much for posting this! Not sure why it makes a difference but it solved the problem for me too.
For me 4.26 and Catalina worked fine, until Xcode crashed while I was debugging. After that I couldn’t build anymore. Reinstalling Xcode and UE_4.26 got me into the permission hell followed by “The type or namespace name ‘Tools’ could not be found (are you missing a using directive or an assembly reference?)”
Thanks man, works!
Thanks, worked great (though my path to cd to was /Users/Shared/Epic Games/UE_4.26/)
Just installed 4.26.1 and the above solution doesn’t seem to help.
The error is that it can’t find XCode which is in the app folder with nothing special.
XCode launches fine.
Unreal does not.