So, why is adding in-app purchases such a royal pain in the arse?
Because, inevitably, something will go wrong. And when that moment arrives, you’re screwed.
At first glance, adding in-app purchases seems like it would be a walk in the park. Apple provides plenty of documentation that should get developers up and running in no time.
- Apple provides a beastly amount of documentation on in-app purchases, but they don’t provide the right kind of documentation.
- Nowhere is there mention of the setup steps you have to take to get in-app purchases to work.
- Nowhere is there a checklist you can reference if your StoreKit integration doesn’t work.
- Nowhere is there an NSError object that tell you exactly why your product ID is invalid.
- 苹果公司为应用内购买提供了非常多的文档,但他们没有提供正确的文档。
- 没有提到使应用内购买工作起来的设置步骤
- 没有一个当你集成的StoreKit不起作用的时候你可以参考的检查清单
- 没有一个NSError对象,确切地告诉你为什么你的产品ID无效
- You are left to flounder (挣扎) and flail (用连枷打) like a wet noodle as you exhaustively (尽力,极尽全力) try every possible solution on the web.
- Losing days of productivity on this is ridiculous.把精力浪费在这上面是多么的荒谬!
pain in the arse 讨厌的人或事, 麻烦的事或人, 屁股疼
flounder (挣扎)、 flail (用连枷打) 、exhaustively (尽力,极尽全力)
Without further ado, let’s get started.闲话少说,我们开始吧。