苹果应用程序崩溃但未在测试中崩溃

发布于 2024-11-14 10:50:10 字数 194 浏览 6 评论 0原文

我的应用程序已(正确地)被 Apple 拒绝,因为当您尝试使用离线地图时它会崩溃。崩溃发生在route-me代码库中,因此崩溃日志没有多大帮助。在测试中它很好,并且不会崩溃,所以我无法成功地重新创建测试条件。

我运行的 iOS 版本(4.3.3)与 Apple 相同。我尝试强制位置代码返回加利福尼亚州的位置。

还有其他人遇到过同样的问题吗?

My app has been (correctly) rejected by Apple as it crashes when you try to use the offline maps. The crash is in the route-me code libraries so the crash log isn't that helpful. In test it is fine, and does not crash, so I can't recreate the test condition successfully.

I am running on the same version of iOS (4.3.3) as Apple. I've tried forcing the location code to return a location on California.

Has anyone else experienced the same problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

鸵鸟症 2024-11-21 10:50:10

当我在让一个应用程序被苹果端的应用程序商店接受而不是我自己的应用程序时遇到问题时,它最终成为我正在使用的外部库的一些构建依赖项。我已将它们设置在我的调试版本中,但没有在发布版本中设置。由于我没有在发布版本上进行测试,因此我从未注意到崩溃。然而苹果却这么做了,因为那是我发给他们的。

When I had problems with getting an app accepted to the App Store on Apple's end but not my own it ended up being some of the build dependencies for an external library I was using. I had set them in my Debug build but not my Release builds. Since I didn't test on Release builds, I never noticed the crashing. Apple did however, since that's what I sent them.

孤星 2024-11-21 10:50:10

这可能是他们的一个问题。

这发生在我身上(iPhone因“无回溯”而崩溃)。我重新提交,没有进行任何更改,并且我的应用程序获得了批准。几个月后,我再也没有重现过或听到过关于一次事故的投诉。

我建议重新提交相同的二进制文件。在等待批准时,请尝试重新运行干净的构建,从设备中删除并重新安装应用程序,并在之前未部署到的“干净”设备上进行临时测试,以尝试重现崩溃。

It may be an issue on their end.

This happened to me ( iPhone Crash with "No Backtrace" ). I resubmitted with no changes and my app was approved. Months later I have never reproduced or heard complaints of a single crash.

I'd recommend resubmitting an identical binary. While you wait for approval, try re-running a clean build, deleting and reinstalling the app from your device, and ad-hoc testing on "clean" devices that you haven't deployed to before to try and reproduce the crash.

禾厶谷欠 2024-11-21 10:50:10

我在苹果手机上也遇到了同样的问题。当我在 iPhone 模拟器、iPhone 或 iPad 上运行带有离线地图的应用程序时,没有任何问题。但是对于 Instrument,当我将 MapView 的委托设置为 ViewController 时,应用程序崩溃了。

修复方法非常简单:
[mapView setDelegate:self]; 之前有代码 [RMMapView class];

如果我没记错的话,编译器无法找到 .xib 文件。抱歉,我不记得为什么要这样做,但它确实有效。

I had the same problem with Apple. When I was running my app with offline maps on the iPhone simulator, iPhones or iPad, I had no problem. But with Instrument, the app was crashing when I set the delegate of the MapView to the ViewController.

The way to fix is really simple :
Had the code [RMMapView class]; just before the [mapView setDelegate:self];.

If I remember correctly, the compiler was not able to find a .xib file. Sorry don't remember exactly why I made this, but it works.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文