Can Xcode/SPM support retrieving a binary target hosted remotely which requires additional authentication?
We have a signed xcframework which doesn't survive inclusion in our repo. I can add the framework locally where everything builds and runs but pulling from our remote repo (GitHub Enterprise) after push (using git lfs) breaks the signature and we can no longer compile.
I have wrapped the framework in a Swift Package with a BinaryTarget and hosted the zipped framework using Artifactory but Xcode is unable to resolve the dependency, returning a "failed downloading ' which is required by binary target 'myTarget': badResponseStatusCode (401)" error.
Is it possible to resolve a Swift Package dependency in Xcode which requires additional authentication to download the payload? Without such a solution, I'm not sure how our CI/CD pipeline will continue to work.
Thanks!
[Edited by Moderator]
MacBook Pro 16″, macOS 15.0