iAP not showing up, I think I have done everything right

So I am just tryint to get my iAP's to show up on my app so I can work on them (this is my first time). And they dont show up instead the dialogue shows up with no options. I have found that the crux of the problem is this block of code here:

func productsRequest(request: SKProductsRequest!, didReceiveResponse response: SKProductsResponse!) {
       println(response)
        println(response.products)
        /
        self.products = response.products as! [SKProduct]
        self.request = nil
    }

This function right here returns an empty array every time with no exceptions, even though I have two iAP's on itunes. Here are some things I have done.

  • Uploaded a binary to itunes connect
  • Created the two iap's (they are currently in "Ready to submit" phase)
  • Have moved the switch under capabilities
  • Have a developer account
  • Have added the iAP's to the product page


what am i missing?


Also for the host content on apple's servers option this is like if you have an extra downloadable racetrack right? A remove adds iAP wouldnt need that right?

There are many reasons why your productIdentifiers could be returned in the invalidProductIdentifiers array. Many are desribed in TN2413 as follows:


  • You did not use an explicit App ID.
  • If you or App Review rejected your most recent binary in iTunes Connect.
  • You did not clear your In-App Purchase products for sale in iTunes Connect.
  • You did not sign your app with the Provisioning Profile associated with your explicit App ID.
  • You might have modified your products, but these changes are not yet available to all the App Store servers.
  • You did not complete all the financial requirements. See Contracts, Tax, and Banking Information for more information.
  • Your product is an Apple-hosted one whose content has not yet been uploaded to iTunes Connect. See Hosting Non-Consumable Products with Applefor more information on to upload hosted content.Note: Your product identifier will be invalid until its content is uploaded to iTunes Connect. However, if your content is not ready, disable the
    Hosting Content with Apple
    feature for your product in iTunes Connect to resolve this issue. Re-enable this feature once your content is ready to be uploaded.
  • Your product identifier specified in iTunes Connect does not match the identifier used by the
    SKProductsRequest
    object in your app. See Technical Q&A, QA1329, 'In-App Purchase Product Identifiers' for more information about product identifiers.


Also - you must delete old builds of the app and log out of the app store before running the app from Xcode. And the simulator often does not work for IAPs.

Also, keep in mind that agreeing to the Paid Applications cotract is not enough. You also have to fill out the contact, bank and tax information for that agreemant specifically, for it to be considered done.

iAP not showing up, I think I have done everything right
 
 
Q