iOS simulator can't get the ionic device UUID

The Android emulator and real device work fine, but iOS version can’t get the uuid from ionic native library call device.

Note=>
I am following these ionic offices documentation. https://ionicframework.com/docs/v3/native/device/

Lastly, I am using ionic 3 rather than ionic 4.

Thank you.