アプリ ID:com.riseuplabs.newapn
商品ID:com.riseuplabs.newapn.01
とcom.riseuplabs.newapn.02
バンドル ID が正しく、プロビジョニング プロファイルが正しく、製品 ID ( com.vendor.appname.itemname
) がバンドル ID ( com.vendor.appname
) に関連しています。「販売許可」のチェックを外して購入商品を作成する場合。
次のコードで製品をリクエストしました。
SKProductsRequest *request= [[SKProductsRequest alloc] initWithProductIdentifiers:
[NSSet setWithObjects: @"com.riseuplabs.newapn.01",
@"com.riseuplabs.newapn.02",
@"01", @"02", nil]];
request.delegate = self;
[request start];
- (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response
{
NSLog(@"didRecieveResponse");
NSLog(@"%@",response.products);
NSLog(@"%@",response.invalidProductIdentifiers);
}
しかし、それに応じて:すべての製品IDがinvalidProductIdentifiers配列にあります。