开发iOS/Xcode/PhoneGap应用程序;随机接收SIGABRT

发布于 2024-12-25 16:19:03 字数 480 浏览 0 评论 0原文

我正在 Xcode 中开发一个应用程序,一切都运行良好。我关闭了 Mac 上的网络,尝试模拟“无网络”,这样我就可以测试我刚刚使用 Phonegap.js 设置的设置。

我突然收到 SIGABRT 通知,并且无法再在我的 iOS 模拟器上运行该应用程序。它构建得很好。我以前在不同的情况下也发生过这种情况。

我发现我所要做的就是将相同的代码粘贴到一个新项目中,一切都很好。所以看来不是代码问题。

我对其进行了研究,发现网络上有很多人都在报告此问题,但我找不到任何人成功修复它的地方。

这就是为什么我希望 StackOverflow 上的某个人可能已经看到过这个问题并知道如何修复它。

我确实遇到了删除 plist 信息文件中的一行的建议,但那是针对 iPad 目标的,而我的目标是 iPhone(但我仍然尝试了它,但无论如何都不起作用)。


XCODE 4.2、PhoneGap 1.3.0、iPhone 5.0

I was developing an app in Xcode and everything was working just fine. I went to shut off my network on my Mac to try and simulate 'No Network' so I could test a setting I had just set using the Phonegap.js.

I suddenly got a SIGABRT notice and can no longer run the app on my iOS simulator. It builds just fine. This has happened to me before under different circumstances.

I have found that all I have to do is paste the same code into a new project and all is well. So it appears to not be a code issue.

I've researched it and found that many people around the web are reporting it but I could not find where anyone successfully fixed it.

That is why I was hoping that someone on StackOverflow might have seen this before and know how to fix it.

I did come across a suggestion to remove a line our of your plist info file but that was for an iPad target and I am targetting the iPhone (but I still tried it and it didn't work either way).


XCODE 4.2, PhoneGap 1.3.0, iPhone 5.0

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

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

发布评论

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

评论(1

冰魂雪魄 2025-01-01 16:19:03

我大约 99% 确信这与 XCode 和 ARC 中的错误有关。

I am about 99% convinced that it has to do with a bug in XCode and ARC.

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