The path that needs is not printing in xtype correctly

I do not know Mac but i suggest you to try to save in clipboard the content and after you can paste it in the field with xtype.

I think the field you use can have a delay to be visible and xtype can use a fast speed and try to type before the filed is active.

Read here