[SIGN IN WITH APPLE]We got a crash:EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000 on `ASAuthorizationAppleIDRequest#requestedScopes = [.fullName, .email]`.This Crash rarely occurs in iOS13 ~ 13.3.x.The code is below. I don't think we are doing anything special. @available(iOS 13.0, *)
private func signInWithAppleOnOS13Later() {
let provider = ASAuthorizationAppleIDProvider()
let req = provider.createRequest()
// Crash`EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000` rarely occurs.
req.requestedScopes = [.fullName, .email]
let controller = ASAuthorizationController(authorizationRequests: [req])
controller.presentationContextProvider = self
controller.delegate = self
controller.performRequests()
}Could anyone advise us any points we should check to resolve this crash?