Closed minlite closed 1 month ago
Attaching minimal reproducible example of the crash.
Please note that you need to add your own amplifyconfiguration.json
and awsconfiguration.json
to the project before running. I've deleted these files before uploading as they are sensitive for my project. Additionally, ensure that you are running the project on a device with iOS 18.1 Beta (22B5007P) installed. This issue is not reproducible on simulators.
I've noticed this issue also happening in Line 204 of URLSessionHTTPClient.swift
in smithy-swift
:
/smithy-swift/Sources/ClientRuntime/Networking/Http/URLSession/URLSessionHTTPClient.swift
public func send(request: SdkHttpRequest) async throws -> HttpResponse {
return try await withCheckedThrowingContinuation { continuation in <--- CRASH HERE EXC_BAD_ACCESS
Since this issue does not happen on Xcode 16 beta 4 (16A5211f), it's starting to look like an Xcode regression to me so I have filed a radar with Apple as well (FB14768097)
Thank you for posting the stack trace and a sample project - can you please paste verbose logs with sensitive information removed, when you encounter the crash mentioned?
You can enable verbose logs like below
Amplify.Logging.logLevel = .verbose
Our team will try to reproduce this issue and post updates here.
This issue seems to have come from Xcode/iOS side and is resolved on the latest Xcode 16 RC and iOS 18 RC. Closing for now.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
I'm using AWS Amplify and Ampify UI liveness in my Swift project. The app functions well on Xcode 16 beta 1 however when built with Xcode 16 Beta 5, the app crashes on startup with EXC_BAD_ACCESS. Please see log
Steps To Reproduce
Expected behavior
App does not crash and initializes Amplify correctly.
Amplify Framework Version
2.35.4
Amplify Categories
Auth, Storage
Dependency manager
Swift PM
Swift version
5
CLI version
12.12.1
Xcode version
16.0 beta 5 (16A5221g)
Relevant log output