fix for newer Xcode and changes by lvs1974

Ignore setEvent for all plugins