Generating project for Carthage

Thanks for the answer!

So you mean that in the script phase, I should:

  1. Somehow read the xcodeproj and list the dependencies (not sure if possible with the xcodeproj utility)
  2. Set the edit mode for those dependencies with swift package edit <dep_name>
  3. Run swift package resolve
  4. 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 :confused:.

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?