By default SPM downloads packaged code to derived data folder. I would like to commit those to my project repository. Is there any way to do it?
I have some security concerns for downloading packages source code every time I need to build project on new machine. How can I be sure that the code that SPM will download will be exactly the same code every time? What if package's repository is compromised and malicious code in included? When using Cocoapods I can be sure that any remote machine is building exactly the same code that I have.