XIAO BLE wont compile ArduinoBLE- Arduino IDE

If you don’t bring the above in the light-up program, can it work?

I was able to successfully compile the program shown below without warning (from the Adafruit Bluefruit nrf52 libraries). If you still can’t compile it, we recommend that you uninstall and reinstall the 1.1.8 version of the library