在应用程序中购买iPhone模拟器为什么被禁用?
只是一个简单的问题,您是否明白苹果在 iPhone 模拟器上禁用许多功能的原因,例如:
- 测试应用内购买
- 的大多数服务
- 测试 Game Center wifi 连接
您如何忍受这三个功能?
如果您想在需要应用内购买的模拟器上快速调试/运行您的应用程序,您是否只需更改源代码中的某些位置以表明应用程序购买已完成?
如果您想快速测试您的应用程序(在模拟器上),了解它在没有互联网连接的情况下如何工作,您会关闭机场吗?当连接快/慢/非常慢(即使在真实设备上)时,您有什么方法可以检查应用程序如何工作?
问候
Just a quick question, do you see any reason why Apple has disabled many things on the iPhone simulator like:
- testing In app purchases
- testing most services of Game Center
- wifi connection
How do you live with those three?
If you want to quickly debug/run your app on simulator that requires the in app purchase, do you just change some places in the source code to say the app that the purchase is done?
If you want to quicky test your application (on simulator), how it works without the Internet connection, do you turn your airport off? Do you have any ways how to check how application works when the connection is fast/slow/very slow (even on a real device)?
Regards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
设备有 UDID,但模拟器没有 UDID。
Device has UDID but simulator has no UDID.
请点击以下链接。它将消除您的疑虑。
http://troybrant.net/blog/2010/ 01/应用内购买完整演练/。
如果您需要进行应用内购买应用程序,您必须有以下内容。
StoreKit Framework 在您的设备和应用商店之间进行通信。不是黑白 iOS 模拟器和 AppStore。
please Follow below link . It will Clear your doubt.
http://troybrant.net/blog/2010/01/in-app-purchases-a-full-walkthrough/.
IF you need to do in-app purchases app , You must have followings.
StoreKit Framework communicate between your device and App store. Not b/w iOS Simulator and AppStore.
看来苹果终于允许从 iOS 5 开始在模拟器中测试应用内购买了。至少,在 iOS 5 Beta 6 中它对我有用。
附言。不过我还没有找到官方证明链接......
It seems that Apple finally allowed testing In-App purchases in the Simulator starting from iOS 5. At least, in iOS 5 Beta 6 it worked for me.
PS. I haven't found an official proof link though...
查看 David Linsin 的这篇文章。
来自 iTunes Connect 开发者指南:
Check out this post by David Linsin.
From iTunes Connect Developers Guide:
现在已启用在模拟器中测试应用内购买。
Now testing in-app purchases in simulator is enabled.