Can In App Purchases be tested in the IOS 8 (Xcode 6) Simulator?

后端 未结 2 432
野的像风
野的像风 2021-02-05 08:46

I keep finding conflicting information about whether In App Purchases can actually be tested on a simulator using Xcode 6. Some answers say \'yes\', others seem to indi

2条回答
  •  太阳男子
    2021-02-05 08:47

    Most of the StoreKit sandbox does mysteriously now seem to work when using a debug-build iOS 8 target in the Xcode 6 simulator.

    You can't buy an auto-renewing subscription though. You get as far as the final confirmation dialog but after that the transaction always comes back with a transactionState of SKPaymentTransactionStateFailed. Same code works on the device. I reported this on Radar, but Apple replied that StoreKit is not supported in the simulator, which is weird given that it does all seem very close to working.

提交回复
热议问题