-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fetch Swift Package Dependencies from internal azure repos #4855
Comments
Hi @jinaiyuanbaojie
|
Yeah man. You are right. But the fetching progress is controlled by iOS Swift Package Manage itself. We can only config the git repo address and branch or tag to be referenced in Package.Swift. |
In this case you can add corresponding permission in the repository branch security section. Then use git reference with $(System.AccessToken) to make it available in your self-hosted agent |
Hi team, Let us say our team has a repo and it looks like
And the Package.swift looks like import PackageDescription
let package = Package(
name: "MyDependencies",
platforms: [
.iOS(.v14),
],
dependencies: [
**.package(url: "https://azure.internal.com/dummy/thirdparty", from: "1.10.3"),**
]
) We iOS developers config the third-party and internal dependencies into this Package.swift file. Is it clear enough for you guys? Any idea? Thanks in advance. :) |
Hi team. Could you give me some suggestion? |
This issue has had no activity in 180 days. Please comment if it is not actually stale |
Describe your question
Hi team. I am a iOS developer and I am using AzureDevOps in my daily work.
I have a iOS repo and it manages its dependencies via Apple official SwiftPackage which I can config the dependency as a git repo.
Now I also have some internal dependency libraries on azure repos. And they are referenced by my iOS repo.
Then my question is how can I fetch the internal dependencies on our azure pipeline local agent?
Are there any solutions or options?
TIPS:
All of our azure repos can not be public by our policy.
And we are enable 2FA(SoftToken PIN) on our azure devops
Versions
Agent version 3.225.3 | MacOS 13.6.6
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Operation system
MacOS Ventura 13.6.6
Version controll system
git
Azure DevOps Server Version (if applicable)
No response
The text was updated successfully, but these errors were encountered: