Xcode – Swift build error "Cannot find 'C++ byte array' in scope"
Xcode build doesn't recognize a byte array sensor_data_bytes defined in C++ .cpp file. It does, however recognize a char variable defined in same files and also recognizes unsigned sensor_data_bytes. func peripheral() receives BLE notification data which it needs to copy…