Can some kind person point me to information on what the restrictions are in terms of the Package Manager and Sandboxing?
I spent a fruitless day trying to write a "Package.swift" script that I could drop into multiple folders, locally on my harddrive, and not have to custom edit at all. This is a pain in the butt to do the way I want, but it basically works... except when it comes to external packages (elsewhere on my local drive). It looks like there's some sort of sandboxing that allows FileManager to read and write folder,files,symlinks within the current package folder. But try to specify a Dependency programmatically, and it's "Package.resolved file is most likely severely out-of-date" errors.
The crazy thing here is that it appears a Package.swift file can programmatically overwrite itself. So I suppose I could use that as a workaround, and just update the file with the external paths I want. It's a clunky workaround though.
I would very much appreciate any information on what operations the Sandbox allows and forbids us from doing. Anyone point me in the right direction?