I’m writing a linguistics paper using the tipa package, and I need to put an acute accent mark (´) to show tone on top of a barred i (ɨ). If I use \'{\textbari} or textipa{\'1} I get a character with the accent mark on top of the tittle. However, I need it to remove the tittle. With a normal i, I could just write \'{\i} with a backslash in front of it to remove the tittle, but crucially, this doesn’t work for something like \textbari.
In short, I get
, but I need
.
Grateful for suggestions!

\textbariacuteand\textbarigravedo not pose problems with section titles. If you're using\textdotlessbari, change\newcommandin\DeclareRobustCommandin its definition. – egreg Jul 18 '19 at 08:26