首页 > 解决方案 > ICEStopConnectivityCheck() 没有找到带有呼叫 ID 的 ICE 检查

问题描述

我有一个应用程序,用户可以在其中与 IOS Multipeer Connectivity 交换数据。

我喜欢 Peter Fennema 的方法,并以他的教程为起点,但在第二台 iPad 接受连接邀请后记录了许多错误。请参阅 Peter Fennema 的编码教程: https ://peterfennema.nl/ios-multipeer-2/

连接过程是自动完成的,因此不需要用户接受。我找不到代码有任何问题,似乎工作正常,只是看到所有这些错误非常烦人。

将不胜感激任何建议摆脱他们。

也许是苹果错误?

2019-05-28 14:14:03.747714+0800 MultipeerDemo[37709:1574851] didFinishLaunchingWithOptions
2019-05-28 14:14:03.754876+0800 MultipeerDemo[37709:1574851] PFViewController viewDidLoad
2019-05-28 14:14:03.772851+0800 MultipeerDemo[37709:1574851] applicationDidBecomeActive
2019-05-28 14:14:03.772948+0800 MultipeerDemo[37709:1574851] Peer iPad Air 2 is connecting
2019-05-28 14:14:03.796920+0800 MultipeerDemo[37709:1574851] Browser iPad Air 2 found iPad on Macbook
2019-05-28 14:14:03.797003+0800 MultipeerDemo[37709:1574851] Browser iPad Air 2 invites iPad on Macbook to connect
2019-05-28 14:14:05.844303+0800 MultipeerDemo[37709:1574851] Advertiser iPad Air 2 received an invitation from iPad on Macbook
2019-05-28 14:14:05.844392+0800 MultipeerDemo[37709:1574851] Advertiser iPad Air 2 accepted invitation from iPad on Macbook
2019-05-28 14:14:05.844525+0800 MultipeerDemo[37709:1574902] iPad Air 2 received MCSessionStateConnecting for iPad on Macbook
2019-05-28 14:14:05.844949+0800 MultipeerDemo[37709:1574904]  [ERROR] ICEStopConnectivityCheck:2688 ICEStopConnectivityCheck() found no ICE check with call id (199317133)
2019-05-28 14:14:05.854285+0800 MultipeerDemo[37709:1574851] iPad Air 2 peers: (
)
2019-05-28 14:14:05.854287+0800 MultipeerDemo[37709:1574902] iPad Air 2 peers: (
)
2019-05-28 14:14:06.988632+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:06.992184+0800 MultipeerDemo[37709:1574902] iPad Air 2 received MCSessionStateConnected for iPad on Macbook
2019-05-28 14:14:06.992298+0800 MultipeerDemo[37709:1574902] iPad Air 2 peers: (
    "iPad on Macbook"
)
2019-05-28 14:14:07.040019+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:07.075525+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:07.129766+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:07.220343+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:07.275756+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:07.449467+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:07.527873+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:07.876498+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:07.939371+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:08.599774+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:08.661743+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:09.840084+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:09.906472+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:11.377437+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:11.409906+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:12.896606+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:12.941097+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:14.444521+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:14.463490+0800 MultipeerDemo[37709:1574947]  [ERROR] ProcessEvent:1199     Send BINDING_REQUEST failed(C01A0000).
2019-05-28 14:14:15.877160+0800 MultipeerDemo[37709:1574910] [GCKSession] Not in connected state, so giving up for participant [0BE1568D] on channel [0].
2019-05-28 14:14:15.886617+0800 MultipeerDemo[37709:1574910] [GCKSession] Not in connected state, so giving up for participant [0BE1568D] on channel [1].
2019-05-28 14:14:15.894222+0800 MultipeerDemo[37709:1574910]  [ERROR] ICEStopConnectivityCheck:2688 ICEStopConnectivityCheck() found no ICE check with call id (199317133)
2019-05-28 14:14:15.894964+0800 MultipeerDemo[37709:1574910] [GCKSession] Not in connected state, so giving up for participant [0BE1568D] on channel [2].
2019-05-28 14:14:15.902320+0800 MultipeerDemo[37709:1574910]  [ERROR] ICEStopConnectivityCheck:2688 ICEStopConnectivityCheck() found no ICE check with call id (199317133)
2019-05-28 14:14:15.903218+0800 MultipeerDemo[37709:1574910] [GCKSession] Not in connected state, so giving up for participant [0BE1568D] on channel [3].
2019-05-28 14:14:15.910065+0800 MultipeerDemo[37709:1574910]  [ERROR] ICEStopConnectivityCheck:2688 ICEStopConnectivityCheck() found no ICE check with call id (199317133)
2019-05-28 14:14:15.910802+0800 MultipeerDemo[37709:1574910] [GCKSession] Not in connected state, so giving up for participant [0BE1568D] on channel [5].
2019-05-28 14:14:15.917513+0800 MultipeerDemo[37709:1574910]  [ERROR] ICEStopConnectivityCheck:2688 ICEStopConnectivityCheck() found no ICE check with call id (199317133)
2019-05-28 14:14:16.474201+0800 MultipeerDemo[37709:1574910] [GCKSession] Not in connected state, so giving up for participant [0BE1568D] on channel [6].
2019-05-28 14:14:16.482041+0800 MultipeerDemo[37709:1574910]  [ERROR] ICEStopConnectivityCheck:2688 ICEStopConnectivityCheck() found no ICE check with call id (199317133)
{
    NSLog(@"Advertiser %@ received an invitation from %@", self.peerId.displayName, peerID.displayName);
    invitationHandler(YES, self.session);
    NSLog(@"Advertiser %@ accepted invitation from %@", self.peerId.displayName, peerID.displayName);
    [self logPeers];
}

标签: iosnetwork-programmingios10multipeer-connectivitympc

解决方案


推荐阅读