xcodebuild -resolvePackageDependencies requires authentication

Viewed 439

I use xcodebuild in my CI/CD pipeline and have to resolve dependencies from package manager first. My builds fails, because the build machine can't resolve authentication data. How can I set this?

It works on my local machine, but fails on remote Mac. I have a Github-Token but do not know how to set it it.

xcodebuild -resolvePackageDependencies -workspace MyProject.xcodeproj/project.xcworkspace -scheme MyProject -clonedSourcePackagesDirPath .
0 Answers
Related