title: NSBundle pathForResource is NULL
body: <p>I'm creating a simple application with xcode and objc and I need to load an NSDictionary from a file, but I can't get the path to the file using NSBundle:</p>
  
  <pre><code>NSString *l = [[NSBundle mainBundle] pathForResource:@"LoginStatuses" ofType:@"plist"];
  NSLog(@"%@", l);
  </code></pre>
  
  <p>When I run this code I get this:</p>
  
  <p>2010-10-16 10:42:42.42 Sample[5226:a0f] (null)</p>
  
  <p>And I don't know why.</p>
  
  <p>I created a group called Resources and there I added the LogingStatuses.plist:
  <img src="https://i.stack.imgur.com/9A97n.png" alt="res"></p>