Reputation: 2958
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.
Upvotes: 5
Views: 3171
Reputation: 818
Well its working for iOS 6 but not iOS 7. Xcode 5 supports in App purchases for iOS 6 only. Have a happy coding. :)
Upvotes: 2
Reputation: 3335
Even if it's not the desidered behavior of the question, you can still test IAP from Simulator & Xcode5 if you deploy and run/test for iOS6 (with test user, sandbox environment, etc...).
For me, this solution is better than deploy on device in early staging of developing phase.
Mick.
Upvotes: 1
Reputation: 435
According to the release notes for Xcode 5.0:
StoreKit (In-App purchases) will not work in the Simulator. 13962338
The simulator documentation doesn't list storekit as being one of the API's that is not available so maybe it is temporary?
Upvotes: 12