title: NSUserDefaults not storing values between app and custom keyboard in iOS 8
body: <p>I'm trying to share data between my application and a custom keyboard extension. I've turned on App Groups in both the main application target and the custom keyboard target. In my main application, I add an object with the following:</p>
  
  <pre><code>NSUserDefaults *userDefaults = [[NSUserDefaults alloc] initWithSuiteName:@"group.mycompany.myapp"];
  [userDefaults setObject:someObject forKey:@"KEY"];
  </code></pre>
  
  <p>Printing out [userDefaults dictionaryRepresentation] in the console reveals that this object has been saved, as does calling [userDefaults objectForKey:@"KEY"].</p>
  
  <p>However, when I try to access this object in the custom keyboard extension:</p>
  
  <pre><code>NSUserDefaults *userDefaults = [[NSUserDefaults alloc] initWithSuiteName:@"group.mycompany.myapp"];
  NSString *value = [userDefaults objectForKey:@"KEY"];
  </code></pre>
  
  <p>The value is nil and a call to [userDefaults dictionaryRepresentation] does not reveal the entry that was saved above. I'm on Xcode 6 beta 3. Any ideas?</p>
  
  <p><strong>UPDATE</strong>
  Fixed in Xcode 6 beta 5</p>