title: iOS 9 Error write .plist
body: <p>My App errors after update to iOS 9. Can't write .plist file in project.</p>
  
  <pre><code>-(BOOL)writeDictionaryToPlist:(NSDictionary*)plistDict {
      NSString *path = [[NSBundle mainBundle] pathForResource:@"History" ofType:@"plist"];
  
      NSMutableDictionary *dict = [[NSMutableDictionary alloc] init];
      [dict setValuesForKeysWithDictionary:plistDict];
  
      NSDictionary *saveDict = [NSDictionary dictionaryWithDictionary:dict];
      BOOL result = [saveDict writeToFile:path atomically:YES];
  
      return result;
  }
  </code></pre>
  
  <p><code>result</code> is <code>NO</code>.</p>
  
  <p>But iOS 7 and iOS 8 is works fine.</p>
  
  <p>How I can fix it ?</p>