Change default currency in Ventura
I am in the UK and doing some SwiftUI training and the tutorial uses:
format: .currency(Locale.current.currency?.identifier ?? "GBP").
But Locale.current.currency?.identifier is returning "USD"
Ventura no longer offers a UI for updating the currency so I used the Terminal solution proposed in this forum.
Before: defaults read NSGlobalDomain AppleLocale --> "en_GB"
defaults write NSGlobalDomain AppleLocale -string "en_GB@currency=GBP"
After: defaults read NSGlobalDomain AppleLocale --> "en_GB@currency=GBP"
But in XCode: Locale.current.currency?.identifier is still returning "USD"
How can I change this value?
MacBook Pro (M2, 2022)