CLMonitor doesn't work on iOS 17.3.1

I managed to get the entry/exit for beacon region on >iOS 17.0 to <=iOS 17.1.2, but it doesn't work at all on latest iOS version 17.3.1.

I have tried the new addition in iOS 17.2, assuming unmonitored as well but still no result.

I'm using the sample code provided by apple, https://developer.apple.com/documentation/corelocation/monitoring_location_changes_with_core_location.

Please guide.