【问题标题】:How to solve Xamarin forms Amazon AWSSDK error in iOS while linker is enabled?启用链接器时如何解决 iOS 中的 Xamarin 表单 Amazon AWSSDK 错误?
【发布时间】:2016-12-18 08:27:08
【问题描述】:

我已经集成了 xamarin 表单 AWSSDK S3,它在启用链接器的 Android 中运行良好,但在启用链接器时无法在 iOS 中运行。我收到以下错误

Severity Code Description Project File Line Suppression State
Error Failed to resolve "System.Void Amazon.Runtime.Internal.Util.AESEncryptionPutObjectStream::.ctor(System.IO.Stream,System.Byte[],System.Byte[])" reference from "AWSSDK.Core, Version=3.3.0.0, Culture=neutral, PublicKeyToken=885c28607f98e604" 

我已经在一个新项目中尝试过它,但它运行良好。我也更新了 nuget 包,但它不起作用。

【问题讨论】:

    标签: amazon-s3 linker xamarin.ios xamarin.forms


    【解决方案1】:

    我通过更新随 AWSSDK 安装的 PCLCrypto 包解决了这个问题。成功了:)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-01-10
      • 2019-09-24
      • 1970-01-01
      • 2010-11-01
      • 2010-12-31
      相关资源
      最近更新 更多