Import swift package dependency to project with ci/cd

Hi, I have a question about packages in swift. I need to import package from this link https://github.com/jedisct1/swift-sodium. Readme show the way to import it with xcode. But I need to do it with gitlab-ci so I can't open xcode there and add dependency manually.

And this is my question. Is there any possibility to add package dependency to target with xcodebuild or swift-cli?

I've tried to do this with cocoapods but unfortunately it not working in my case. It is importing Sodium library but not Clibsodium package.

I'll be very glad if someone could help me wth this case.

Import swift package dependency to project with ci/cd
 
 
Q