Is there an editable package manager for xcode projects similar to Swift PM?

All of the .xcodeproject's seem to have huge opaque project files . I want to be able to edit package dependencies with a text editor. Is this at all a do-able thing? Am I bound to using Xcode? I am a keyboardist and dislike using the mouse and stepping through menus by clicking.

I believe there are some solutions for autogenerating xcode project files. Like GitHub - yonaskolb/XcodeGen: A Swift command line tool for generating your Xcode project.

Thanks. I am reading/learning about cocoapods and carthage now. These are definitely addressing my topic.