When you select visionOS as the Platform, there is no Location Usage Description in Player Settings.
When you try to build using Location services, it fails.
Workaround is to add manually to ProjectSettings.asset:
locationUsageDescription: Location Is Required
Hey there! Thanks for reporting this. We have a ticket tracking these kinds of issues, but can you please submit a bug report specifically about location services? That will help us track this and notify you when a fix is available.
post process build script is another workaround