Error while installing PostgreSQL 12.9 on Apple Silicon (M1 Max) via asdf

The error is as in the first line and the error is in asdf (wrapped so can read without scrolling):

/Users/kushal/.asdf/plugins/postgres/bin/install: line 45: uconv: command not found

Looking at line 45 in the install script

  local icu_uconv=$(uconv -V)

Now uconv is not installed as part of macOS (Big Sur at least) Also see uconv on Mac OS X anywhere?

uconv is part of ICU4C.

So you need to install ICU4C by asdf as that is your package manager.