This needs to be an Async Taks that goes beyond simple bluetooth scanning and provides and returns a List of Bluetooth LE devices that use Advertising Extensions. The app "nRF Connect for Mobile" in the google playstore is an example of the Bluetooth LE with AE search capabilities.
Bluetooth 5.0 hardware device (iPhone 10)
Must be written in Swift 5.x
Needs to run only on iOS 11 or iOS12