Aws-sdk-ios: Migrate SDK to Swift

Created on 29 Aug 2018  路  6Comments  路  Source: aws-amplify/aws-sdk-ios

  • What service are you using?
    S3

I'm trying to add object storage to my Swift application running on EC2 https://aws.amazon.com/quickstart/architecture/swift/

This SDK does not work with my server side project. Are there plans to offer this library in Swift as opposed to Objective-C?

feature request

Most helpful comment

After reviewing with the team, there's not really a good way for the mobile SDK team to make this happen. I've gone ahead and let our internal server product teams know of the community interest in a Swift server-side SDK.

I've also added the "write the client SDK in Swift" a feature request on our own (mobile SDK) backlog.

All 6 comments

@christiancompton Thank you for reporting to us. The iOS SDK is limited to building iOS applications that can connect to AWS. I will take this feature request to the team.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Any updates @kvasukib?

There are actually two somewhat related requests here:

  1. Enable the SDK to run in a server environment
  2. Migrate the SDK to Swift

The current SDK is intended for a mobile use case and as such has strong dependencies on mobile frameworks like UIKit. Simply migrating the SDK to Swift, while something we do want to accomplish in the future, would not fulfill that use case.

I'm investigating the ability to enable a server-side SDK in Swift and will post an update once I have more information.

After reviewing with the team, there's not really a good way for the mobile SDK team to make this happen. I've gone ahead and let our internal server product teams know of the community interest in a Swift server-side SDK.

I've also added the "write the client SDK in Swift" a feature request on our own (mobile SDK) backlog.

As a followup for folks who are following this, looking for a server-side AWS SDK written in Swift:

You can investigate the smoke-aws library for your use case. It is a work in progress, and the team is still working on getting a working S3 client, but it is in active development.

Hope this helps.

Was this page helpful?
0 / 5 - 0 ratings