The bundle IDs of the two targets must be different and require their own provisioning profiles. The Group IDs of the shared data of the two targets need to be consistent, which is also what NSUserDefaults *shared = [[NSUserDefaults alloc] initWithSuiteName:group id]is used here
The bundle IDs of the two targets must be different and require their own provisioning profiles. The Group IDs of the shared data of the two targets need to be consistent, which is also what
NSUserDefaults *shared = [[NSUserDefaults alloc] initWithSuiteName:group id]
is used here