2016-12-06 190 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之前正確駁回造成..