Mega 2560 compilation problem

Hi,
I think my Arduino is not recognised this message is showing each time I try to verify a project.

"Arduino : 1.8.5 (Mac OS X), Carte : "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)

fork/exec /Users/garethcharlton/Desktop/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags: bad CPU type in executable

Compilation error for arduino Mega or Mega 2560"

Thank you if you help me.

ok it is solved just needed the last version of Arduino IDE