程序收到信号 sigkill 但错误消失
当我在模拟器中启动应用程序时,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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是一种错误!我曾经遇到过这个问题,但这里有两个解决方案:
Its a kind of bug !! I had faced with this , but here is two solution :
当您启动一个应用程序并且仍然从之前启动它时,就会发生这种情况。 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.