I have created a Swift package manager using a private repo. The xcframework zip file is located in this private repo. The swift package manager set up is sitting in a public repo. When I try to integrate this SPM ( swift package manager ) in a sample app, I see below error. Please can anyone suggest what can i do to fix this.
What I have already tried:
I tried to use a SSH authentication instead of https in Xcode preferences accounts, when I do that it fails on first step itself while cloning the public SPM repo.
A proper solution to this issue is coming in Swift release 5.4 The solution is similar to that used in Carthage with a NetRC file. This pull request details how the solution works in Swift 5.4
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.