My code crashes as soon as it tries to request access to the CNContactStore
. Any ideas if this is a beta issue?
var addressBookStore = CNContactStore()
addressBookStore.requestAccess(for: .contacts) { (granted, error)
in
// This console message is triggered at the crash - Messenger[836:1175155] [access] private
the crash occurs at this line and even preventing even printing the error!
Thanks in advance