iPhone Store Kit “Cannot connect to iTunes Store”

前端 未结 26 2334
南旧
南旧 2020-11-27 13:09

I am working on adding In-App purchases to my app.

I am able to receive the productsRequest:didReceiveResponse method, and receive the array of products

26条回答
  •  孤街浪徒
    2020-11-27 13:59

    I have tried all what I can to deal with this issue.

    Real device not Simulator.

    New registered Sandbox test account (not fill the extra info to make it a formal Apple ID)

    Logout whatever accounts related.(iCould, App Store, maybe other app's sandbox testing account)

    Fill all the tax and Agreements in itunesconnect website

    Even restore to factory settings LOL ...

    always return SKErrorDomain Code=0

    “Cannot connect to iTunes Store”

    ...

    My case's solution is finally come tome after 3 days' struggle:

    And finally I find the key. Try with another device to test the iAP if your device's iOS is iOS13.4.x!!!And I upgrade this ”broken“ device's OS version to iOS14.0.1, iAP works like a charm.

提交回复
热议问题