I have an app group to share settings between a main app and a helper. This is accessed using [[NSUserDefaults alloc] initWithSuiteName: @"FDHC2KMZ6V.com.jwwalker.autopairs.suite"]
. What's puzzling me is that if I go to Terminal and enter
defaults read FDHC2KMZ6V.com.jwwalker.autopairs.suite
it tells me that the domain does not exist. Is this a bug in the defaults
tool, or is there some trick I'm missing?
Is this a bug in the
defaults
tool, or is there some trick I'm missing?
Neither, really. The defaults
tool far predates the advent of app groups, and we just haven’t got around to adding support for them. We have a bug on file for this already (r. 32691004).
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"