Ok this might save someone in the future, otherwise i would not write this
After this line manage to save the editor from unable to be opened:
sh “/Users/Shared/Epic Games/UE_5.7/Engine/Build/BatchFiles/Mac/GenerateProjectFiles.sh” -project=“/Volumes/MyDisk/UnrealProjects/MyTestProject.uproject” -game -engine
Then i rebuild it by opening the project file (it fail before as i mentioned) . this time it did rebuild.
And after this rebuild the files are sync
All that happen just because i created a C++ Actor while the build was not able to be build because of a typo in xcode. its fragile beyond imagine.