问题
I'm implementing an in-app store and am successfully getting SKProducts from the app store. The price information and description in the SKProducts are fine, but all my localizedTitles are nil. In iTunes Connect, the reference name is set, and I added an English language and set the Display Name and Description. Any idea why localizedTitles is coming back as nil?
回答1:
Same issue here, check https://devforums.apple.com/message/681255 - you are not alone. It's something at the Apple side.
回答2:
Apple seem to have broken this at some point between the 20th of June and the 21st for both iOS and Mac app stores (both live and sandbox). Unfortunately if you are trusting in a valid response your app will crash.
For anyone with a live app if you don't require a persistant internet connection a short term work around for some users can be to enable airport mode on iOS, not sure if "turn off your internet connection" is much help to anyone experiencing this on the Mac app store.
来源:https://stackoverflow.com/questions/11134303/nil-localizedtitle-in-skproduct