Post

Replies

Boosts

Views

Activity

DNSServiceProcessResult users complaining about app freeze
I am using DNSServiceBrowse for getting the kDNSServiceErr_PolicyDenied (-65570) error for local network access as there is no API as per https://developer.apple.com/forums/thread/663852 I released the app on AppStore but now some users are complaining about app freeze issues and eventually app crash. I am unable to reproduce this issue on my device at all. But AppStore reviews are filled with "app freeze" and "crashes" keywords. let pointer: UnsafePointerInt8? = NSString(string: "_services._dns-sd._udp").utf8String var browseRef: DNSServiceRef? DNSServiceBrowse(&browseRef, 0, 0, pointer, nil, browseCallback, nil) DispatchQueue.global().async { DNSServiceProcessResult(browseRef) DNSServiceRefDeallocate(browseRef) } Any suggestions about how to debug this?
3
0
1.1k
Feb ’21