Comments (35)
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.
from amplify-swift.
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)
from amplify-swift.
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.
from amplify-swift.
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.
from amplify-swift.
Need this asap.
from amplify-swift.
@palpatim @rodrigoelp I agree with the input here. Have added this to the product roadmap. Will update this thread when we have it prioritized.
from amplify-swift.
Will this be supported soon? Any updates?
from amplify-swift.
It should as binary components can be included and distributed with your package.
from amplify-swift.
hello, when will this be available?
from amplify-swift.
We could really use this - looking at a use case at the moment that this would be perfect for!
from amplify-swift.
We have chosen another service due to the lack of support for this, because we are against cocoa cocoapods.
from amplify-swift.
Wow this sucks, this whole platform is shooting itself in the face, showing all the signs of low competition lardass syndrome.
from amplify-swift.
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 🤦🏻♂️
from amplify-swift.
+1
from amplify-swift.
Any ETA?
from amplify-swift.
from amplify-swift.
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?
from amplify-swift.
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:
- Amplify
- AWSCognitoAuthPlugin
- AWSAPIPlugin
- AWSDataStorePlugin
- AWSS3StoragePlugin
from amplify-swift.
+1
from amplify-swift.
There appears to be a recent PR here #1123 (comment)
Haven't tested it though
Edit: Doesn't work
from amplify-swift.
@cbscd Which service did you choose? Just curious.
@El-Fitz, we chose Firebase but I’m not very happy with it.
from amplify-swift.
thanks for the hard work 👏🏻
from amplify-swift.
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.
from amplify-swift.
+1
from amplify-swift.
+1
from amplify-swift.
@cbscd Which service did you choose? Just curious.
from amplify-swift.
Awesome, thank you!
from amplify-swift.
i would like to thank the team here. worth the wait. 👌
from amplify-swift.
❤️❤️❤️❤️
from amplify-swift.
from amplify-swift.
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.
from amplify-swift.
Any progress on this?
from amplify-swift.
Is this new feature going to simplify the release?
Distributing Binary Frameworks as Swift Packages
from amplify-swift.
So, any update on this?
I personally need the support for:
- API Gateway
- Cognito
- S3
from amplify-swift.
+1
from amplify-swift.
Related Issues (20)
- Error: Command failed with exit code 1: /Users/atk/.amplify/lib/aws-amplify-amplify-frontend-ios/resources/amplify-xcode import-config --path=... HOT 4
- DataStore Bug please resolve HOT 3
- fetchDevices does not return devices name HOT 6
- Memory leaks on web sockets: each `DataStore.start()` add new web sockets but old ones remain active. use Starscream 4.0.6 HOT 2
- memory leak in `ModelSyncedEventEmitter` HOT 2
- Endless retry of mutation request when server responds with 401 error code HOT 2
- Version 2.25.7 & 2.26.0 have Package Resolution Failed HOT 5
- Cannot return null for non-nullable type: \'AWSDateTime\' within parent (/onUpdateImbybe/createdAt)" HOT 3
- Update aws-crt-swift dependency to fix a crash HOT 7
- Updating model attribute using Amplify.API.Query HOT 3
- visionOS AWSS3StoragePlugin Compilation Issue HOT 7
- visionOS Unable to fetch/update AuthUserAttribute HOT 9
- Verification Codes are not sent for Amplify Auth HOT 5
- GraphQL API Bug HOT 5
- CUSTOM_AUTH_WITHOUT_SRP being ignored on configuration. HOT 5
- visionOS Sign In With Apple support for Cognito User Pools HOT 6
- Intermittent Session Dumping from Keychain on Unexpected Error in Amplify Auth HOT 18
- so many files “missing" HOT 5
- Improve the update application data documentation HOT 1
- Unknown errors HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amplify-swift.