2016-12-06 153 views
3

我在iPhone上调试我的swift应用程序时收到了神秘的错误信息。Swift神秘错误

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" 

而这个消息在home键关闭程序后弹出:

而午睡-API呼叫后performSegue被显示此消息

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. 

的开始出现不知何故。 任何想法如何解决这些问题?

+0

http://stackoverflow.com/questions/37800790/hide -strange-unwanted-xcode-8-logs –

+0

试过已经但没有成功..我在我的iPhone上调试它,第二个警告仍然显示.. –

+0

但第一个是错误,或者我错了吗? –

回答

2

见最后评论..

错误是由“请等待” AlertController这是不是做SEGUE之前正确驳回造成..