Closed MauKappel closed 8 years ago
Hi @easybay , can you share your code ? How did you allocated the array ? It look like array is not allocated.
It's the example code. Copied and paste, same error.
@ClickedApps
Look like error at
SKProduct* product =[[IAPShare sharedHelper].iap.products objectAtIndex:0];
Did you register your product identifier at iTunes Connect ?
I checked it and this error occur because you didn't register any products. So, SKProductsResponse didn't response any product.
However, example code is trying to get index 0. So, this error occur. Please register your in app purchases first.
Hey, when take the example code, change the product ID and run the code, I get the error "[__NSArrayI objectAtIndex:]: index 0 beyond bounds for empty array" on the line of the declaration of product. Why? Many thanks in advance