如何检查AWS SDK for iOS框架的版本?

我没有在AWSiOSSDK.framework中的任何头文件中看到它.我正在寻找这里使用的版本格式(例如版本1.4.4):

http://aws.amazon.com/releasenotes/iOS

最佳答案 最近的博文中已经介绍了这个主题,请参阅
Getting Metadata about the AWS Mobile SDKs

The AWS Mobile SDKs provide functionality to capture details about the
environment in which the SDK is executing. These details include SDK
version, mobile platform, and platform locale. This information can be
useful for diagnosing issues and to help understanding exactly what
you are testing/running against.

请查看帖子了解详细信息和示例,例如为了使用AWS SDK for iOS捕获应用程序的调试日志中的元数据,您显然只需要包含以下代码行:

NSLog( @"SDK Details: %@", [AmazonSDKUtil userAgentString] );
点赞