Problem trying to programm ATTiny84A

You have not described your problem - but that tutorial is ancient, and the requirements of boards.txt have changed since then; it will not work on recent versions of the IDE.

Why are you going to all that work instead of using a third party board package that someone else has prepared, like my ATTinyCore? It should work right out of the box without you having to go modifying files.