Thanks for the answer!
So you mean that in the script phase, I should:
- Somehow read the xcodeproj and list the dependencies (not sure if possible with the
xcodeproj
utility) - Set the edit mode for those dependencies with
swift package edit <dep_name>
- Run
swift package resolve
- Remove the edit mode for the dependencies with
swift package unedit <dep_name>
Is that right? Where can I find information about the edit mode? I have no idea what that is actually .
Also, do you know what this "id" or "hash" is for? Why does it have to be different every time swift package resolve
is run, and why was it not necessary with Xcode 9?