Hey @YOCKOW ,
Yes, you are right, I was using sedline command to add dependency at a particular line, and since the content of Package.swift changed, this lead to invalid manifest.
Also, thank you for pointing out the --from and --to flags, will use them.
Thanks!