We need to support Swift Package Manager as a distribution mechanism for Amplify and bundled plugins.
Given Apple is moving towards a swift world and swift package manager is the way to go, I think this support is more than necessary.
@palpatim @rodrigoelp I agree with the input here. Have added this to the product roadmap. Will update this thread when we have it prioritized.
Any progress on this?
Is this new feature going to simplify the release?
Distributing Binary Frameworks as Swift Packages
It should as binary components can be included and distributed with your package.
I'd love to see this implemented as well. I'd be happy to help. Are there specific issues that have been a roadblock to it in the past?
I'd love to see this implemented as well. I'd be happy to help. Are there specific issues that have been a roadblock to it in the past?
The one most likely to be the issue is the fact that implify was implemented on node, making it hard to migrate over by just including a few files and what not. Ideally, implify spm should be a self-contained package, just like GraphQL Apollo's client (Ellen put an amazing work to migrate and rewrite quite a lot of their CLI in pure swift to maintain a SPM totally clean... ish).
Step one to achieve this would be to write some of these in bash or some sort of shell/swift script. That means the code generators, connectors to AWS and what not. An alternative is to not link everything with implify... Effectively turn the client into a pure client you need to provide the endpoint and credentials to suck down the schema and generate the classes/structs/types of it.
We are currently investigating Swift Package Manager support. Amplify uses some of the AWS SDKs so there's quite a bit of surface area to cover.
Although I have no ETA, we're actively working on this and I'll keep this issue updated with the status.
+1
So, any update on this?
I personally need the support for:
Any ETA?
Hey, do you have an approx. timeline for this? Next week, next month, next quarter, 2021, 2022+?
I'm using the main services given by Amplify:
Need this asap.
hello, when will this be available?
Hi folks, thanks for your interest in this. We're actively working on supporting Swift Package Manager, but don't have an ETA to report just yet. We'll update this ticket as soon as we have information.
Wow this sucks, this whole platform is shooting itself in the face, showing all the signs of low competition lardass syndrome.
Any ETA on having some sort of beta so we can start testing with SPM on our side?
Firebase started, its been a while without updates but at least there are some beta branches to test.
Dropping Carthage means we are stuck with awful cocoapods 🤦🏻♂️
Will this be supported soon? Any updates?
We could really use this - looking at a use case at the moment that this would be perfect for!
+1
+1
Sent from my iPhone
On Mar 30, 2021, at 10:51 AM, Natthaphong Kimchan @.*> wrote:
+1—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
+1
+1
+1
We have chosen another service due to the lack of support for this, because we are against cocoa cocoapods.
@cbscd Which service did you choose? Just curious.
There appears to be a recent PR here https://github.com/aws-amplify/amplify-ios/pull/1123#issue-598385261
Haven't tested it though
Edit: Doesn't work
@cbscd Which service did you choose? Just curious.
@El-Fitz, we chose Firebase but I’m not very happy with it.
Amplify iOS (except for the Predictions category) can now be installed via Swift Package Manager. See the README for full details, especially as it relates to changes in how you import modules into your app code. (#1146)
thanks for the hard work 👏🏻
Awesome, thank you!
i would like to thank the team here. worth the wait. 👌
❤️❤️❤️❤️
Thanks so much much for the hard work to make this happen
Sent from my iPhone
On Apr 7, 2021, at 1:28 PM, Tim Schmelter @.*> wrote:
Amplify iOS (except for the predictions category) can now be installed via Swift Package Manager. See the README for full details. (#1146)—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Since we haven't heard any technical errors related to this, I'm going to close out this issue now. If you encounter any problems using SPM that aren't covered in the README, please file a new issue and refer to this issue for context.
Most helpful comment
We are currently investigating Swift Package Manager support. Amplify uses some of the AWS SDKs so there's quite a bit of surface area to cover.
Although I have no ETA, we're actively working on this and I'll keep this issue updated with the status.