Runtime Error: unrecognized method. irritants: (RegisterforBytes)

Hi there,
I am new to using MIT App Inventor and have followed a youtube tutorial on how to construct an app to scan for, connect to and control an ESP32. However, when I press on the ESP32 device in an attempt to connect to it on my MIT App inventor Companion app on iOS, i get this error: unrecognized method. irritants: (RegisterforBytes).
How can i fix this problem? The Youtube tutorial i followed was: https://www.youtube.com/watch?v=RvbWl8rZOoQ&list=PL94tI_1M51VWwqCMGSpFWTzUbsezOPoJ4&index=5&ab_channel=MoThunderz

My MIT App Inventor Code is below:

Are you quite sure BLE extensions are supported on iOS?

There is a limited amount of BLE functionality implemented in the iOS companion on the App Store--mainly to support our latest IOT curriculum with Microbit. The version on TestFlight has much more support for different BLE features that weren't necessary for the curriculum. You may want to try your app with the version from TestFlight and see if it meets your needs.