iOS IAP 内部测试时,返回invalidProductId
2017-03-15 本文已影响79人
zhangyin
错误现象:
- (void)productsRequest: (SKProductsRequest *)request
didReceiveResponse: (SKProductsResponse *)response
{
NSArray *myProducts = response.products;
//myProducts.count=0
//response中提示错误:responseinvalidProductIdentifiers
已知的原因:
1.手机越狱;
2.itunesConnect中有尚未接受的协议,例如银行协议之类的;