Looks like you are following code examples made for 042 Pioneer family and not 042 BLE.
PSoC 042 Pioneer Kit Guide (the wrong document you are following): https://www.cypress.com/file/46056/download
PSoC 042 BLE Pioneer Kit Guide (the right one): https://www.cypress.com/file/229211/download
From the error message, the device you have is CY8C4247LQI-BL483.
To choose devices: Please right click on the project > Device Selector > Choose the right device part number. Note that in your case, since you have a project made for a different device family, changing the device might not prove useful. Instead follow the below steps to create a new project for your device
You can find code examples on Page#34 here: https://www.cypress.com/file/229211/download
Another way is to use File > Code Example > Set device family to 4200 BLE as shown below:
Then choose the code example and click on Create Project.