我試圖在我的應用程序之一中實現應用程序內購買,並且遇到問題,當我發送沙盒測試的產品請求時,我沒有收到任何產品。我看到很多很老的帖子,像這個(invalid product id from 2010)。 我在做應用購買設置時做了什麼錯誤?有沒有最近的任何教程關於如何配置xCode5在應用程序採購中使用?iOS7 xCode5如何解決2014年應用購買中的「無效產品ID」?
- (void)requestProUpgradeProductData
{
NSSet *productIdentifiers = [NSSet setWithObject:self.productID ];
productsRequest = [[SKProductsRequest alloc] initWithProductIdentifiers:productIdentifiers];
productsRequest.delegate = self;
[productsRequest start];
// we will release the request object in the delegate callback
}
下面是該產品的請求回調:創建具有相同數量的重複應用程序ID
- (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response
{
NSArray *products = response.products;
for(id object in products)
{
//handle valid products
}
for (NSString *invalidProductId in response.invalidProductIdentifiers)
{
NSLog(@"Invalid product id: %@" , invalidProductId);
}
[hud hide:YES];
}
使用此選項,但不同的名字興田開發人員門戶。我無法刪除該應用程序ID。
這是在應用程序內購買的第一耗材,無需主機內容。該應用程序處於「準備好上傳二進制階段」。它已經超過24小時,因爲我通過itunesconnect