【发布时间】:2017-04-20 22:37:36
【问题描述】:
在我的 iPhone 上调试我的 swift 应用程序时,我收到了神秘的错误消息。
此消息在 Siesta-API-Call 后的 performSegue 时显示:
2016-12-06 11:08:36.032131 dl[20878:6372455] [Common] _BSMachError: port 9913; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND"
2016-12-06 11:08:36.032664 dl[20878:6372455] [Common] _BSMachError: port 9913; (os/kern) invalid name (0xf) "Unable to deallocate send right"
通过主页按钮关闭应用程序后会弹出此消息:
2016-12-06 11:08:52.609482 dl[20878:6372455] Cannot snapshot view (<UIKeyboardImpl: 0x13fe16770; frame = (0 0; 414 226); layer = <CALayer: 0x17403eda0>>) with afterScreenUpdates:NO, because the view is not in a window. Use afterScreenUpdates:YES.
开始以某种方式出现。 任何想法如何解决这些问题?
【问题讨论】:
-
已经试过了,但没有成功。我正在我的 iPhone 上调试它,第二个警告仍然出现..
-
但是第一个是错误的,还是我错了?
-
对我来说它看起来像
OS_ACTIVITY。 -
发现错误是由“请稍候”的 AlertController 在执行 segue 之前未正确解除引起的