开发者

iPhone: Is it necessary to upload the app to itunes to test In App Purchase?

Is it necessary to upload th开发者_如何学Goe app to itunes to test In App Purchase?


No, you just have to set up your In-App Purchases in iTunes Connect and create a test user, then you can test in the sandbox. Read this guide.

Edit: there's also an In-App Purchase session in the list of WWDC 2011 session videos. You might learn something from that too.


Yes it is necessary. Prior to submitting a binary I was getting a message through iTunes connect saying a binary must be submitted with the In-app purchase.

It seems perverse, but you have to do the following:

  1. Create your app in iTunes (or your new version)
  2. Add your In-App purchase in iTunes
  3. Associate your In-App purchase with the new version of your app (click on the version, scroll down to in-app purchases, click edit, add the purchase(s))
  4. Then build your app for distribution and upload it to the iTunes store.
  5. Once uploaded, click on the binary and click Reject to change the status to Developer Rejected. This means Apple won't approve it, however the In-App purchase will still be Waiting For Review.

Also make sure your provisioning profile doesn't include the wildcard '*' character.

There's a great article here which is a little out of date but still very helpful: http://troybrant.net/blog/2010/01/in-app-purchases-a-full-walkthrough/

It's a clunky process I don't think Apple though through too well in advance...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜