title: Can't sync NSUserDefaults with apple Watch
body: <p>I need to pass 2 doubles to apple watch, for this purposes I set app groups in extension and main app, next:</p>
  
  <p>main app:</p>
  
  <pre><code>groupDefaults = [[NSUserDefaults alloc] initWithSuiteName:@"group.XXXXX"];
  [groupDefaults setDouble:pitchDelta forKey:@"pitch_delta"];
  [groupDefaults setDouble:rollDelta forKey:@"roll_delta"];
  [groupDefaults synchronize];
  </code></pre>
  
  <p>extension:</p>
  
  <pre><code>groupDefaults = [[NSUserDefaults alloc] initWithSuiteName:@"group.XXXXX"];
  double pitchDelta = [groupDefaults doubleForKey:@"pitch_delta"];
  double rollDelta = [groupDefaults doubleForKey:@"roll_delta"];
  </code></pre>
  
  <p>But the values are not passed. Did I forget something?</p>
  
  <p>in main app code </p>
  
  <pre><code>[groupDefaults setDouble:pitchDelta forKey:@"pitch_delta"];
  [groupDefaults setDouble:rollDelta forKey:@"roll_delta"];
  [groupDefaults synchronize];
          NSLog(@"%f %f", [groupDefaults doubleForKey:@"pitch_delta"], [groupDefaults doubleForKey:@"roll_delta"]);
  </code></pre>
  
  <p>returns in log <code>-0.387812 -0.098052</code></p>