Program ATtiny167 with Arduino UNO as ISP

Hi,
I am programming ATtiny167 using Arduino UNO as ISP. I am following this guide: YouTube

Which basically says:

  1. Add Attiny167 in boards manager from: Link

  2. Setup circuit as follows: (MOSI, MISO, CLK, PWR connections b/w UNO and ATtiny167): Link

  3. Select Board as ATtiny167 and Arduino as ISP and upload blink program!

Up till this point, the avrdude was unable to find the board due to internally clocked ATtiny167, so the guide suggested editing avrdude.conf files in ../AppData/.../etc and ../Arduino/.../etc folder by adding the following lines into code: Link.

Now, Arduino IDE is detecting the ATtiny167 but there is some new error and I found no solution to it.

Error: Yikes! Invalid device signature. Double check connections and try again, or use -F to override this check.

Please help me with solution.

Please do this:

  • (In the Arduino IDE) File > Preferences
  • Uncheck the checkbox next to "Show verbose output during: compilation"
  • Check the checkbox next to "Show verbose output during: upload
  • Click "OK"
  • Attempt an upload to the ATtiny167
  • After the upload fails, you'll see a button on the right side of the orange bar "Copy error messages" (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button.
  • In a forum reply here, click on the reply field.
  • Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
  • Press "Ctrl + V". This will paste the upload output between the code tags.
  • Move the cursor outside of the code tags before you add any additional text to your reply.