Closed albrecht-jun-zhang closed 4 weeks ago
Hey @albrecht-jun-zhang That GitHub URL(https://github.com/Azure/azure-sdk-for-ios.git) is not going to work. In my understanding this repo has a collection of a lot of SDKs but it doesn't support SPM directly.
So for installing those packages is going to depend on which packages you want to install e.g. if you want AzureCommunicationCommon, use this "https://github.com/Azure/SwiftPM-AzureCommunicationCommon.git"
as stated in the Documentation.
@lucianopa-msft is correct. This repo is not installable via SPM and there are mirror repos that allow you to install the individual libraries via SPM.
Really appreciate that @lucianopa-msft and @tjprescott. My initial intention was to install azure-sdk-for-ios via SPM to import AzureStorageBlob in Swift. But it looks like it's not possible. I will use the Azure Storage REST API directly to upload photos to Azure Blob Storage. Thank you again.
Describe the bug In Xcode Swift Package Manager I can't include azure-sdk-for-ios (main branch)
Exception or Stack Trace Add the exception log and stack trace if available
To Reproduce Steps to reproduce the behavior: Open Xcode -> File -> Add Package Dependencies... -> enter azure-sdk-for-ios into search top right -> pick main branch -> click the bottom right Add Package button. You will get the error.
Code Snippet Add the code snippet that causes the issue.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Setup (please complete the following information):
Additional context Add any other context about the problem here.
Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report