iPad Air - CoreBluetooth [错误]取消选择器,因为我们无法与蓝牙通信

Tom*_*sti 2 external-accessory ipad core-bluetooth

我正在使用"ExternalAccessory框架".我在新的iPad Air上尝试使用我的应用时遇到了问题.

当我尝试显示蓝牙选择器时出现此错误:

CoreBluetooth[ERROR] Cancelling picker as we couldn't communicate with Bluetooth
Run Code Online (Sandbox Code Playgroud)

蓝牙开启.Picker返回此错误:

Error Domain=EABluetoothAccessoryPickerErrorDomain Code=3 "The operation couldn’t be 
completed.
Run Code Online (Sandbox Code Playgroud)

我的应用程序可以在每台Apple设备上运行,除了新的iPad Air.

编辑

我可以连接并与我的设备通信.只有在我拨打蓝牙选择器时才会出现问题.

编辑2

问题也出现在EADemo的修改版本中.

我添加了这个功能.

- (void)searchDevice {
    [[EAAccessoryManager sharedAccessoryManager] showBluetoothAccessoryPickerWithNameFilter:nil completion:nil];
}
Run Code Online (Sandbox Code Playgroud)

当我打电话给它时,砰!同样的错误.仅适用于iPad Air

所有64位设备上都会出现此问题

Mar*_*Thé 9

您的应用程序需要包含64位切片(添加arm64ARCHS构建设置),否则在iPhone 5S,iPad Air等64位设备上会出现此问题...这是iOS 7.0 - 7.0.3中的错误.它应该在下一个版本中修复.