Harry G. Frankfurt, a Princeton University philosopher who wrote primarily on Descartes, free will and moral responsibility but found literary fame with his unexpected bestseller “On Bullshit,” a slim treatise on the pervasive, willful and devilish art of avoiding the truth, died July 16 at a care center in Santa Monica, Calif. He was 94.