Azure-iot-sdk-c: Support for Swift Package Manager

Created on 12 Dec 2019  路  4Comments  路  Source: Azure/azure-iot-sdk-c

Hi there,

I'm looking to use the Azure IoT Device SDK in a Swift app.

It looks like there is already support for CocoaPods, but I'm wondering if you would consider adding support for Swift Package Manager, too?

Swift Package Manager (SPM) supports iOS, macOS, and watchOS like CocoaPods, but it also supports Linux.

Support for SPM could enable the Azure IoT SDK to be used in server-side Swift apps and in Swift IoT apps that run on Linux.

It would also make the SDK easier to use in iOS, macOS, and watchOS targets now that SPM is directly integrated into Xcode 11.

SPM has some documentation for creating C targets that might be helpful.

Let me know if there is any additional information I can provide.

Best,
Will

enhancement

Most helpful comment

@ewertons Thanks for the update.

As SPM continues to become the de facto standard for integrating 3rd party libraries in Xcode (on all Apple platforms and on Linux), I hope this decision will be reconsidered in the future.

All 4 comments

Hi @wlisac,
thank you very much for your suggestion.
We have evaluated the request and, unfortunately, we will not have a chance to add support for Swift package manager for now.
There are already options for packages for the systems you listed (cocoapods for iOS and vcpkg for Linux/Mac/Windows), so it would be somehow redundant, with the addition of extra code we would need to maintain, plus it would enlarge our release process. To best serve the community we find it better to continue investing in the code distribution systems we currently already support.
In any ways, thanks for recommendation.
Azure IoT SDK Team

@wlisac, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey

@ewertons Thanks for the update.

As SPM continues to become the de facto standard for integrating 3rd party libraries in Xcode (on all Apple platforms and on Linux), I hope this decision will be reconsidered in the future.

@wlisac , for sure we are always watching the trends.
If SPM becomes an option with stronger adoption than the current ones we certainly will reconsider it.

Was this page helpful?
0 / 5 - 0 ratings