I continue to receive invalid product identifiers as a return from application purchase requests.
I checked the following:
Validated provisioning profiles deleted and re-done multiple times ...
Verified product identifiers versus products in itunesconnect (uk.co.companyname.appname.product_name).
Removed the application and propositions from the phone and installed.
I left the application store on the phone.
Verified my code signing (signed as iPhone Developer (with uk.co.companyname.appname as identifier)
Verify that the application ID is in the info.plist file correctly.
Binary application sent and rejected.
It works on the phone, not on the simulator.
This is my product extraction code:
- (void)loadProducts
{
NSSet *productIdentifiers = [NSSet setWithObjects:uk.co.companyname.appname.product_name, uk.co.companyname.appname.product_name2, uk.co.companyname.appname.product_name3, nil];
for(NSString *pk in productIdentifiers) NSLog(@"%@", pk);
SKProductsRequest *productsRequest = [[SKProductsRequest alloc] initWithProductIdentifiers:productIdentifiers];
productsRequest.delegate = self;
[productsRequest start];
}
- (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response
{
NSLog(@"products: %d", [response.products count]);
NSLog(@"invalidProductIdentifiers: %d", [response.invalidProductIdentifiers count]);
}
and I get:
products: 0
invalidProductIdentifiers: 9