I have a watchOS only app (not my first) and using UserDefaults.standard.set() to store some data. In my other project it is working fine but in this project it do
UserDefaults.standard.set()