In my master .tex file, the command LaTeX > Insert > Citation Based on Current Word works fine.

However if I try to run the same command in the child files, I get a dialogue box with the error message "Failure running “Citation Based on Current Selection…”. plus a long list of paths.

This is what I have set in Preferences > Variables: 
“BIBINPUTS ~/Library/Mobile Documents/M6HJR9W95L~com~textasticapp~textastic/Documents/refs.bib"

Anyone know what the problem is?

Ross