适用于 3G 设备的 iPhone 模拟器
我最近发布了一款 iPhone 应用程序。 当然,我在模拟器和我的 3GS 设备上测试了这个应用程序。
发布一天后,我收到了两条糟糕的客户评论,告诉我该应用程序会一直崩溃。
这非常糟糕,因为我想提供一个没有错误的应用程序。我现在的问题是找到问题所在。我在 iTunes 连接中找不到崩溃报告,看起来一切都在 3GS ans 模拟器上找到。
我的想法是,3G设备上的内存可能太小而导致崩溃。但如何测试这一点。 模拟器可以配置为以3G配置启动(包括更少的内存)吗?
我还能做什么?我找不到任何内存泄漏或其他可能导致问题的东西。
I recently released an iPhone app.
Of course I testes this app in simulator and on my 3GS device.
One day after the release, I got two bad customer reviews, telling that the app would crash the whole time.
That's extremly bad since I want to provide a bugfree app. My problem is now to find the problem. I can't find a crash report in the iTunes connect and it looks like everything is finde on 3GS ans simulator.
My idea is, that the memory on 3G devices may be too small and cause a crash. But how to test this out.
Can the simulator be configured to start with the 3G configuration (including less memory) ?
What else can I do ? I can't find any memory leaks or other stuff that could have caused the troubled.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
iPhone Simulator 是一个软件模拟器,而不是硬件模拟器,因此无法将其配置为复制实际设备上的硬件限制。另请参阅此答案。
您需要在 iPhone 3G 设备上进行测试。
iPhone Simulator is a software simulator, not a hardware emulator, so it cannot be configured to replicate the hardware constraints found on actual devices. Also see this answer.
You need to test on an iPhone 3G device.
几周前,我就这样的问题写了一篇博客文章。你需要一部 iPhone 3G。 iOS 目标选择的不言而喻的不成文规则是“如果你没有在其中测试过它,那么你就不支持它,所以不要假装支持”。 iPhone 3G 正在降价,因此您可以在 eBay / Craigslist 上以合理的价格购买一台。
I wrote a blog post about an issue like this a few weeks ago. You need an iPhone 3G. The unstated and unwritten rule of iOS target selection is "if you didn't test it on one, you don't support it, so don't pretend to." iPhone 3G's are dropping price, so you can get one on eBay / Craigslist at a reasonable price.