Dear Arun,
Apologies for a very late response; we did not get notified for forum posts. I see you figured it out, but perhaps the following is useful too.
On a Mac in the menu/icon bar (at the top, right, where you find wifi, bluetooth, battery etc.), there is an icon for the keyboards. There you can choose to use Unicode when needing Pāli. See screenshot attached.