我得到"端点不存在"当我试图从我的ios项目注册主题时。在info.plist文件中,我将我的SNSPlatformApplicationARN设置为我在SNS控制台中创建的应用程序。我一直在试图解决这个问题。我感谢任何帮助。这是完整的错误:
016-12-11 12:52:05.534 MiGPShttps://forums.aws.amazon.com/ AWSiOSSDK v2.4.11 https://forums.aws.amazon.com/ AWSURLSessionManager.m line:212 | -https://forums.aws.amazon.com/ | Session task failed with error: Error Domain=NSPOSIXErrorDomain Code=54 "Connection reset by peer" UserInfo={_kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=54}
2016-12-11 12:52:05.820 MiGPShttps://forums.aws.amazon.com/ AWSiOSSDK v2.4.11 https://forums.aws.amazon.com/ AWSURLSessionManager.m line:553 | -https://forums.aws.amazon.com/ | Response headers:
{
"Content-Length" = 262;
"Content-Type" = "text/xml";
Date = "Sun, 11 Dec 2016 17:52:05 GMT";
"x-amzn-RequestId" = "xxxx";
}
2016-12-11 12:52:05.820 MiGPShttps://forums.aws.amazon.com/ AWSiOSSDK v2.4.11 https://forums.aws.amazon.com/ AWSURLResponseSerialization.m line:240 | -https://forums.aws.amazon.com/ | Response body:
<ErrorResponse xmlns="http://sns.amazonaws.com/doc/2010-03-31/">
<Error>
<Type>Sender</Type>
<Code>NotFound</Code>
<Message>Endpoint does not exist</Message>
</Error>
<RequestId>xxxx-xxx-xxx</RequestId>
</ErrorResponse>