amplify-swift: Enabling AWSCloudWatchLogging using Amplify SDK crashes the app.

Describe the bug Enabling AWSCloudWatchLogging using Amplify SDK crashes the app.

  • Configure AWS Cloud Watch Logging using below code
public func configureAuthSDK() {
    do {
        try Amplify.add(plugin: AWSCognitoAuthPlugin())
        try Amplify.add(plugin: AWSCloudWatchLoggingPlugin())
        try Amplify.configure()
    } catch {
    }
}
  • Using release build of the app from TestFlight is crashes the app

Screenshots

Image Seems like the [crash](https://github.com/aws-amplify/amplify-swift/issues/3987) still persists but with a different reason may be.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

The issue was fixed in 2.48.2

@harish-suthar I am actively working on the release. Unfortunately some integration tests failed during the release. I am working on investigating and fixing them… Will keep the thread updated about the progress.

@harish-suthar I will work with my team and try to get this released this week.

Thanks for the info. I’ll label this as a bug for the team to have a look at.

Thanks for the report @harish-suthar. We’ll have a look and get back to you. Can you confirm that this happens only on release builds?

Yes so far, we observed it in release build only.