It appears that In App Purchase on the simulator has again been broken. We are able to successfully submit an SKProduct, but we NEVER get the appropriate callback.
Any insight from others would be great...
[[SKPaymentQueue defaultQueue] addTransactionObserver:self];
[[SKPaymentQueue defaultQueue] addPayment:skPayment];
No response from the observer delegate callback.
According to the release notes for Xcode 5.0:
StoreKit (In-App purchases) will not work in the Simulator. 13962338
https://developer.apple.com/library/prerelease/ios/releasenotes/DeveloperTools/RN-Xcode/index.html#//apple_ref/doc/uid/TP40001051
The simulator documentation doesn't list storekit as being one of the API's that is not available so maybe it is temporary?
https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/iOS_Simulator_Guide/TestingontheiOSSimulator/TestingontheiOSSimulator.html#//apple_ref/doc/uid/TP40012848-CH4-SW15
Well its working for iOS 6 but not iOS 7. Xcode 5 supports in App purchases for iOS 6 only. Have a happy coding. :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With