I am not sure what I have done wrong.
I moved my project folder to another folder and copied the backup folder to desktop.
I tried to open the backup project and build
how to get derived data
Cmd + ,
)now you have scene, now click on the point as shown in below image.
your derived data is now opened (suggest you to add drive data in finder left menu). Delete whatever inside the drive data.
If you are still facing issues then let us know so that we can help accordingly.