Which Provisioning Profile to use when testing In App Purchase?

后端 未结 2 938
南笙
南笙 2021-02-04 18:43

I have setup my app in iTunes Connect, with an In App Purchase. It has been 24 hours and I am still getting zero products back from SKProductsRequest.

I am wondering if

2条回答
  •  礼貌的吻别
    2021-02-04 19:24

    First off, you must run your program on an actual device. The StoreKit API will not work on the simulator.

    Before you tear your hair out, read these two pages. They were both EXTREMELY helpful to me in getting In-App Purchasing working. The second link is a straight checklist of things you need to get results back using the StoreKit API.

    http://troybrant.net/blog/2010/01/in-app-purchases-a-full-walkthrough/

    http://troybrant.net/blog/2010/01/invalid-product-ids/

提交回复
热议问题