I've found a potential deadlock while trying to simulate a write without response. If I create a CBCentralManager mock that uses the main queue, the code will crash trying to dispatch synchronously on main. CBMCentralManagerMock.swift about line 1105 method
public func writeValue(_ data: Data,
for characteristic: CBMCharacteristic,
type: CBMCharacteristicWriteType)
I've found a potential deadlock while trying to simulate a write without response. If I create a
CBCentralManager
mock that uses the main queue, the code will crash trying to dispatch synchronously on main.CBMCentralManagerMock.swift
about line 1105 methodHere