I usually remove Xcode cache and project build data from storage manager whenever I shut down my system.
I am not sure why my Mac gets 30 GB of temp files whenever I buil