In the "Resolve package dependencies" step I see this error occur:
Scheme <scheme-name> is not currently configured for the build action.
I cannot reproduce locally. When I run the command: xcodebuild -resolvePackageDependencies it finishes fine.
I'm on Xcode 13.4.1 and MacOS 12.4.1
Other things I've tried:
Verified scheme is in the workspace (not the project)
Deleted all schemes and auto created schemes again
Recreating the build action in the scheme
Enabled all actions in the scheme