For CCG2, I hope you are using the v3.0.2 of the SDK. If you look at the release notes, you will find the requirements.
You will need to change the toolchain to ARM MDK Generic. Please download ARM MDK from here - MDK Version 5
The location for binaries in the toolchain is "Keil_v5\ARM\ARMCC\bin"
Let us know if the build issues still persist.
We are in the process of making clarity in website regarding CCG1/CCG2. CCG2 is still being supported since some of our customers are using. The main reason for the KBA not recommending CCG1/2 for new designs is becuase they do not support PD3.0 and are low on memory for large applications. That is not a reason to make them completely NRND. But we are advising based on the application. More clarity will be brought in the website and documents soon.
Thank you for the feedback.
Thank you for the detail.
I'm now able to Clean and Build CCG2 projects in PSoC Creator.
I look forward to updated website and documentation.