Aparecium is a revealing spell associated with Hermione Granger's examination of Tom Riddle's diary in Chamber of Secrets. The official Harry Potter site identifies the spell and says the diary resisted it. In the film screenplay, Hermione tries the incantation because she suspects invisible ink, but the pages remain blank.
The documented example is an unsuccessful attempt. In the screenplay for the film, Hermione considers invisible ink as an explanation for the apparently blank diary and tries Aparecium; the pages do not change. The official account of the diary's defences likewise identifies Aparecium as a spell that did not overcome the object's protections. These sources establish the name, the context and the result, but the failed test does not define every circumstance in which the spell might work.
The diary was no ordinary notebook. The official encyclopedia identifies it as a Horcrux containing part of Voldemort's soul. Its unusual behaviour means that its resistance to the spell should not be treated as proof that the same attempt would fail on ordinary invisible ink.
The film screenplay places the attempt while Harry and Hermione discuss the diary and its connection to the opening of the Chamber. After Hermione tries the spell, nothing appears. The official Horcrux feature also describes a separate Revealer used by Hermione and says that the diary resisted both attempts. The feature discusses the diary's protections; the screenplay supplies the details of the filmed scene.
Later, the diary's danger becomes clear through its effect on Ginny Weasley. The official encyclopedia says the spirit in the diary manipulated her and that Harry Potter destroyed the object with a Basilisk fang. Destruction of the Horcrux is a separate event from Hermione's earlier attempt to reveal writing.