amplify-ios | declarative library for application development using cloud | AWS library
kandi X-RAY | amplify-ios Summary
kandi X-RAY | amplify-ios Summary
A declarative library for application development using cloud services.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of amplify-ios
amplify-ios Key Features
amplify-ios Examples and Code Snippets
Community Discussions
Trending Discussions on amplify-ios
QUESTION
There is an iOS app that needs Analytics and it's decided to use Amazon as a provider. So I added Amplify, and it works ok on iOS and on Simulator. But when building for Mac Catalyst, compiler produces a set of similar errors related to various XCFrameowrk's from Amplify bundle:
While building for Mac Catalyst, no library for this platform was found in '... artifacts/AWSiOSSDKV2/AWSCore.xcframework'.
Quick search shows that Amazon do not want to support Catalyst due to business reasons and there an open issue on this topic, and the first PR was raised 3 years ago then accidentally closed.
Attempts to avoid the errorAnalytics isn't absolutely necessary feature, so I tried to remove Amplify libraries from Catalyst and keep them on iOS. I'm using this macro (which obviously is compile-time, not build-time, but some SO answers reported that it may help):
...ANSWER
Answered 2022-Feb-20 at 23:10I didn't find the exact answer regarding Swift PM. But I was able to fix my issue, just switched to good old (and much more flexible) cocoapods. I used cocoapods-catalyst-support to restrict Amplify to iOS only. My podfile:
QUESTION
I am following this tutorial for integrating AWS Amplify into iOS. I added the GraphQl API backend, but when I try to push it to the cloud, i get this error:
...ANSWER
Answered 2020-Aug-19 at 19:01I just experienced the same and I noticed my error was I did amplify configure
while logged in to another account where the application did not exist in.
The solution for me was, I logged into the right account and did amplify configure
again.
QUESTION
I am on xcode 11.4 and swift4, and I currently am working with AWS GraphQL and learning the proper workflow. My amplify.xyz
config is set as
ANSWER
Answered 2020-Apr-18 at 16:39I'm assuming you're configuring everything through the Amplify CLI? Are you using the new or old iOS SDK for Amazon? My workflow has generally been when adjusting my schema.graphql file to run an amplify push command to actually propagate those changes to the backend and making sure to have it generate the API.swift file. Are your graphql operations being run through the autogenerated api.swift file? You can also run amplify codegen to recreate the api.swift file as well.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install amplify-ios
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page