“Cannot connect to iTunes Store” in-app purchases

前端 未结 17 2395
鱼传尺愫
鱼传尺愫 2020-12-01 06:13

I am having problems testing my in-app purchases. I get back valid product identifiers, but upon purchase I receive the dreaded \"Cannot connect to iTunes Store\". Interesti

17条回答
  •  醉话见心
    2020-12-01 06:26

    Here the exhaustive checklist if you got this error "cannot connect to iTunes Store" :

    • Make sure you have a sandbox user created in App Store Connect

    • Simulator DOES NOT support In-app purchase : test on real-device

    • The sandbox may be unreachable. Check the Apple System Status
    • Check that your app does have a bundle version (CFBundleVersion)
    • Check that the product is available for sale. Did you create it in App Store Connect?

    • If previous iOS 12, signed out of any production iTunes accounts on the device. Otherwise, you can just sign in within the dev app with your sandbox account.

提交回复
热议问题