Attempting to read SKProduct.introductoryPrice.priceLocale crashes app

Originator:nicholas.helke
Number:rdar://40087723 Date Originated:9 May 2018
Status:Open Resolved:
Product:iOS + SDK Product Version:
Classification:Bug Reproducible:Always
 
Summary:
I have setup some auto-renewing subscriptions with introductory pricing. The `introductoryPrice` property is non-null as expected and the `price` property reads as expected. Accessing the introductory price's `priceLocale` crashes.

Steps to Reproduce:
1. Create auto-renewing subscription with intro pricing
2. Fetch SKProduct
3. Try to read `introductoryPrice.priceLocale`

Expected Results:
Should return the priceLocale so I can format the introductory price correctly

Actual Results:
Crashes

Version/Build:
Xcode 9.3
Swift 4.1

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!