CoreBluetooth silently fails under iOS AppIntents extension

CoreBluetooth silently fails under iOS when used from AppIntents extension but works in macOS as an extension or in iOS when AppIntents types are compiled as part of the main app. CBCentralManager will never find any devices despite the state being .poweredOn.

CoreBluetooth should not silently fail and return 0 scan results when running in the AppIntents Extension under Siri Shortcuts. Other apps extensions like the original Intents framework, iMessage, Today and QuickLook work fine with CoreBluetooth.

I had to discard using the extension and just embed the AppIntents definitions in my app. I would prefer to use the extension as its lightweight for Siri Shortcuts if possible.