程序收到信号 sigkill 但错误消失

发布于 2025-01-02 09:13:35 字数 173 浏览 2 评论 0原文

当我在模拟器中启动应用程序时,Xcode 会切换到 main.m,大多数时候我会立即看到此错误,但奇怪的是,错误会暂时消失,然后应用程序启动。

对我来说,Xcode 似乎困惑了一段时间,然后它意识到哦,没有错误并继续......奇怪......

我更担心如果有什么东西我现在应该抓住它,但我无法做到。

As soon as I launch app in simulator, Xcode switches to main.m and I see this error momentarily most of the time but the weird part is, this is momentarily, error disappears and then app launches.

for me it seems like Xcode gets confused for a while and then it realizes oh there's no error and continues... strange...

I'm more concerned that if there's something I should catch it now but I'm unable to.

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

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

发布评论

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

评论(2

眼波传意 2025-01-09 09:13:35

这是一种错误!我曾经遇到过这个问题,但这里有两个解决方案:

  1. 停止正在运行的应用程序,然后退出 iOS 模拟器。再次重新
  2. 启动 Mac

Its a kind of bug !! I had faced with this , but here is two solution :

  1. Stop the running app then quit iOS simulator . relunch again
  2. Restart your Mac
佞臣 2025-01-09 09:13:35

当您启动一个应用程序并且仍然从之前启动它时,就会发生这种情况。 Sigkill 消息来自已经运行的会话 - 它收到了 sigkill,因此可以启动新会话。没什么好担心的。

如果您打开了调试控制台,您可以看到此终止和退出信号。

如果您不想看到此错误,您应该在运行新会话之前停止正在运行的会话(停止按钮:停止正在运行的方案或应用程序)。

This happens when you launch an app and still have it launched from before. Sigkill message is from the already running session - it received a sigkill so a new session can be started. Nothing to worry about.

You can see this kill and quit signals if you have debug console turned on.

If you don't want too see this error you should stop the running session (stop button: stop the running scheme or application) prior to running a new one.

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