0

I tried a lot of solutions found in StackOverflow, but they don't help me.

I'm trying to get product's information with product id

func requestProductInfo() {
   if SKPaymentQueue.canMakePayments() {

     let productIdentifiers = NSSet(objects: "acces_all_tests_without_ads")
     let productRequest = SKProductsRequest(productIdentifiers:productIdentifiers as! Set<String>)
     productRequest.delegate = self
     productRequest.start()
   }
   else {
     print("Cannot perform In App Purchases.")
   }
} 
func productsRequest(request: SKProductsRequest, didReceiveResponse response: SKProductsResponse) {
    if response.products.count != 0 {
        for product in response.products {
            productsArray.append(product )
        }
        tblProducts.reloadData()
    }
    else {
        print("There are no products.")
    }
    if response.invalidProductIdentifiers.count != 0 {
        print(response.invalidProductIdentifiers.description)
    }
 }

I always get "There are no products".

My product id = "access_all_tests_without_ads" is in iTunes Connect with a good application id, I already activate In-App Purchase Capabilities at XCode.

enter image description here

I tried uninstalling the application from simulator/device but this doesn't work for me.

I created the product in iTunes Connect 32 hours ago.

I also enter all information bank contract tax ect, i do that 1 hour ago enter image description here...

Any help will be greatly appreciated.

tamtoum1987
  • 1,957
  • 3
  • 27
  • 56

1 Answers1

0

I found Solution here:

iOS in app purchase - no products received

I create a new profile for my application and it works like a charm now

Community
  • 1
  • 1
tamtoum1987
  • 1,957
  • 3
  • 27
  • 56