0

I am trying to break down my existing code into separate repos and integrate each repo through Swift Package Manager in the base codebase.

I have used SPM to achieve the same for the repos hosted on git servers, but for some reasons in this case we have to host and integrate repos using SVN.

When I try to add a package hosted in SVN through Xcode it always throws alert with request to enter credentials:

'The remote repository could not be accessed.'

Make sure a valid repository exists at the specified location and the correct credentials have been supplied.

Login: Username and Password

UserName: Entered correct user name

Password: Entered correct password

I was connected to VPN while trying so.

Am I missing anything over here?

3
  • What's in the SVN server's logs? Commented Dec 1, 2022 at 10:09
  • And does it work when you run svn info <REPO-URL> with the same credentials? Commented Dec 1, 2022 at 10:10
  • Correct .. I am able to download it through separate tools such as SVNx. Commented Dec 1, 2022 at 10:39

1 Answer 1

0

Swift Package Manager must be hosted with git, though I read Apple are going to support other sources soon. See more here: https://forums.swift.org/t/using-swift-package-manager-with-version-control/61738

Sign up to request clarification or add additional context in comments.

1 Comment

that thread was started by me. There is no such comment about them supporting other sources. They have no plans to support SVN. I am not surprised as Xcode too does not provide support for SVN.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.