iPhone StoreKit - недействительные идентификаторы товаров
Я пытаюсь проверить In App Purchase в среде песочницы.
Для проверки кода я сделал следующее:
Created an In App Purchase Test User account under 'Manage Users' in iTunes Connect
Created some in app purchase products under 'Manage Your In App Purchases'. I used numeric values and alpha-numeric values for the Product IDs.
Loaded the app onto the iPhone, went to Settings->Store and logged out of the regular store and into the test account created in step 1
Set a breakpoint in the
(void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response
callback
Все представленные идентификаторы продуктов находятся вresponse.invalidProductIdentifiers
имущество.
При отправке запроса я сначала попробовал точные идентификаторы продуктов, созданные на шаге 2. Я также попытался поставить перед ними префикс Bundle ID:
<code>NSString *id2 = @"com.super.duper.8"; NSSet *productList = [NSSet setWithObjects:id2, @"8", nil]; SKProductsRequest *request= [[SKProductsRequest alloc] initWithProductIdentifiers:productList]; </code>
Я что-то упускаю из виду? Любая помощь приветствуется.
Ахим