AWS Appsync 在 Swift 的 s3 图像上传中的工作示例?

AWS Appsync working example in Swift of s3 image upload?

我在这里学习本教程: https://docs.aws.amazon.com/appsync/latest/devguide/building-a-client-app-ios.html

我在让它工作时遇到了一些问题,想知道是否有人有工作示例。

当前问题:

  1. Pods 与教程不符(awss3 和 awsappsync 需要 不同版本的 AWSCore(2.6.6 与 2.6.12)
  2. 使用不同的 pod 版本(apsync 2.6.7 和 awss3 2.6.6)时 - api-appsync-codegen 生成的代码 不编译 - 它不创建 S3Object class - 但试图 扩展它。

感谢您的帮助。

AppSync SDK 版本 2.6.14 修复了这个问题。现在它依赖于最新的可用代码版本。您应该能够 运行 pod install --repo-update 并且能够获得最新的安装。

谢谢, 洛汗