As requested, I have downloaded the latest nightly build of Xinha, and can confirm the following:
1) The fix I posted is in the nightly build.
2) The popup.js errors shown above are not fixed and the OpenACS File Selector is therefore still broken.
3) Xinha builds a widget in IOS, however it is not possible to give the editor focus and obtain a cursor (which makes it pretty useless really!).
Regards
Richard