SKStoreReviewController Crashes on tapping Cancel

Originator:keithbsmiley
Number:rdar://32949878 Date Originated:23-Jun-2017 09:55
Status:Duplicate of 32881405 (closed) Resolved:iOS 11 probably
Product:iOS + SDK Product Version:iOS 10.3.3
Classification:Security Reproducible:Sometimes
 
Summary:
This is a duplicate of radar #32881405

In DEBUG builds of an iOS app that calls `SKStoreReviewController.requestReview()`, upon giving a rating and pressing the CANCEL button from the Review UI, a crash occurs. 

This crash is intermittent and only appears to occur on DEBUG builds when the user presses CANCEL from the SKStoreReviewController alert view.


Steps to Reproduce:
1. Launch a DEBUG build of an iOS app that uses the SKStoreReviewController.requestReview() API function.
2. Trigger the SKStoreReviewController.requestReview API to call the review screen to show up.
3. Slide your finger across the stars of the rating alert
4. Press the Cancel button which will dismiss the rating alert
5. The crash may occur.

Expected Results:
Upon pressing the CANCEL button of the rating prompt, the SKStoreReviewController should dismiss gracefully and silently to the user in DEBUG builds.

Actual Results:
An intermittent​ crash will occur in DEBUG builds when pressing the CANCEL button from the SKStoreReviewController.

Version:
iOS 10.3.3

Notes:
This issue does not appear to happen every time the SKStoreReviewController is presented to the user. It appears to occur more often when a star rating is given then the Cancel button pressed.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!