azure-sdk-for-ios
azure-sdk-for-ios copied to clipboard
Installation issues using instructions and Demo application
Using the instructions found here: https://github.com/Azure/azure-sdk-for-ios/tree/main/sdk/core/AzureCore#add-a-package-dependency-with-swift-package-manager
Tried: Add a package dependency with Swift Package Manager via XCode:
Error I get with that method:
Tried: Swift CLI Error: No such module 'PackageDescritpion'
Tried: Integrate the client libraries with CocoaPods
With my project when I run "pod install" I get the error:
Specs satisfying the
AzureCore (= 1.0.0-beta.15)dependency were found, but they required a higher minimum deployment target.
So I downloaded the demo project: https://github.com/Azure/azure-sdk-for-ios/tree/main/examples/AzureSDKDemoSwift
and ran "pod install" and it didn't give me the above error.
However, ultimately I always end up with this error when building (with both my project and the AzureSDKDemoSwift project)
I also tried adding the frameworks manually and it resulted in the "Framework not found AzureCore" error as well
Any help would be greatly appreciated
I am getting the same issue, cannot add via Package Manager as seems the Package.swift file is missing
@elemental21 @gavinb80 when you add a package via Swift PM, you need to use the version-based dependency rules, not a branch or commit. The mirror repos exists only to track tagged releases, so the branch/commit approach will not work.

For the SDKs in beta, we recommend pinning to Exact Version
since there can be breaking changes between beta versions.
Please let me know if that helps resolve your issues.
Thanks, that worked. We actually found that solution a little while back after posting this question. However after doing that I get this next issue when trying to build and haven't been able to get past it. Any suggestions
You cannot install AzureStorageBlob via SPM. It is not released. https://github.com/Azure/azure-sdk-for-ios/issues/469
Closing this issue as the storage code that the demo relied upon has been removed from the main
branch.