Post

Replies

Boosts

Views

Activity

CBCentralManager.retrieveConnectedPeripherals does not return a connected BLE device
A GoPro camera to be precise, even though the docs state that The list of connected peripherals can include those that other apps have connected. Steps to repdoruce: (iPhone, iOS 16.2) Pair a new GoPro camera using GoPro's official Quik app Double check that the samera is on Double check that the samera shows as connected in Settings iOS app under bluetooth devices Launch our app and call https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/1518924-retrieveconnectedperipherals Nothing is returned (a scan finds it though) Scan for devices and connect pair/it using our app retrieveConnectedPeripherals starts returning the GoPro
0
0
1.2k
Feb ’23
Future.Conduit.cancel() crash on iOS 13
We've started seeing following crashes in our logs, they seem to be iOS 13 only and affect mostly users running iOS 13.3.1. Anyone idea what the root cause may be and how to reproduce it? Crashed: com.apple.main-thread 0 Combine 0x1bd9e2964 Future.Conduit.cancel() + 144 1 Combine 0x1bd9e299c protocol witness for Cancellable.cancel() in conformance FutureA, B.Conduit + 20 2 Combine 0x1bd9acdec closure #1 in Publishers.SubscribeOn.Inner.cancel() + 124 3 libswiftDispatch.dylib 0x1c9f59cf8 thunk for @escaping @callee_guaranteed () - () + 28 4 libdispatch.dylib 0x1944d2610 _dispatch_call_block_and_release + 24 5 libdispatch.dylib 0x1944d3184 _dispatch_client_callout + 16 6 libdispatch.dylib 0x1944b634c _dispatch_main_queue_callback_4CF$VARIANT$armv81 + 996 7 CoreFoundation 0x1947845e4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12 8 CoreFoundation 0x19477f5d8 __CFRunLoopRun + 2004 9 CoreFoundation 0x19477eadc CFRunLoopRunSpecific + 464 10 GraphicsServices 0x19e71f328 GSEventRunModal + 104 11 UIKitCore 0x19888c63c UIApplicationMain + 1936 12 Scruff 0x1046369f4 main + 10 (main.swift:10) 13 libdyld.dylib 0x194608360 start + 4
0
0
771
Apr ’21