 SPOILER: The apple that Captain Barbosa (Geoffrey Rush) bites at the  end of the film is a nod to the  _Pirates of the Caribbean: The Curse of the Black Pearl (2003)_ (qv).  In that film, Barbosa lamented that as a living dead, he could not  feel the taste of an apple.