我在iPhone上调试我的Swift应用时会收到神秘的错误消息。
siesta-api-call之后的performegue时显示此消息:
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.
开始以某种方式出现。有什么想法如何解决这些?
请参阅最后评论。
错误是由"请等待"的AlertController引起的,该警报器在执行segue之前未正确删除。