"Could not be compiled, try rebuilding from source manually", when trying to migrate a project to another platform

There isn’t any Visual Studio project yet, only an Xcode project, the original project was created using Mac, where it compiles perfectly, the problem comes when moving to windows.