1. _BSMachError: port 9f03; (os/kern) invalid name (0xf) "Unable to deallocate send right"
2._BSMachError: port 8f03; (os/kern) invalid name (0xf) "Unable to deallocate send right"
3.nw_coretls_callback_handshake_message_block_invoke_3 tls_handshake_continue: [-9807]
4.BSMachError: port 8803; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND"
5._BSMachError: port 8803; (os/kern) invalid name (0xf) "Unable to deallocate send right"
遇到上述等等类似的问题,原因在于:没有把UI操作放在主线程中操作
监测自己哪步操作动了UI,放在主线程就可以了