I am developing an iOS app using AWS as its backend. Since I expect users to be world wide, I need to switch where the app should download photos in order to increase latenc
Whenever the Amazon AWS Mobile SDK displays an unclear warning in the console, turn on verbose logging to debug:
(Swift 3)
AWSLogger.default().logLevel = .verbose
(Swift 2) AWSLogger.defaultLogger().logLevel = .Verbose
…to reveal more information about what S3 buckets, regions, endpoints etc. are being used.
I found this particularly useful to find out what was happening when trying to switch between buckets, because the error message
… Endpoint=bucket-ap-northeast-1.s3-ap-northeast-1.amazonaws.com, Message=The bucket you are attempting to access must be addressed using the specified endpoint. …
…doesn't provide much information about the actual/current transfer manager configuration.