Post not yet marked as solved
Yes the crash is in the wild, and a corrupt PNG sounds plausible because users can upload user images and that image may be corrupted. The question is how can I either a) catch the exception or b) validate an image before accepting it as a user image
I think that was exactly the cause. The `AVAudioRecorder` is `unowned (unsafe)` but I assumed it was `weak`. So I created a weak reference for the delegate to make it safe.
Yes, the message shown is:Exception Type: SIGSEGV
Exception Codes: SEGV_ACCERR at 0x900000010
Crashed Thread: 3
Application Specific Information:
objc_msgSend() selector name: respondsToSelector:Does that give you a better understanding of the bug cause?
Post not yet marked as solved
Same problem here, many crashes with identical stack trace in a live app. And we are unable to reproduce the crash.
Post not yet marked as solved
I'm having a similar issue with the same error. https://forums.developer.apple.com/thread/96014 Did you find out what caused the crash or how to deal with it?
Post not yet marked as solved
You don't have to test the promo code feature as all handling for the promo code is done for you by the App Store behind the scenes. The promo code feature is using the process of restoring purchases. So if the regular In App Purchase and Restore Rurchase features work, you can be sure that promo codes work too.Implement purchase and restore features in your appCreate sandbox users to make an In App PurchaseDelete and re-install the app on your deviceTry to restore your previous purchase