title: pathForResource returns null
body: <p>I'm trying to load some .applescript files in my project.</p>
  
  <p>Copied them into the "Supporting Files" directory like this:</p>
  
  <p><img src="https://i.stack.imgur.com/WQwD1.png" alt="enter image description here"></p>
  
  <p>and tried to access them: </p>
  
  <pre><code>NSBundle *bundle = [NSBundle mainBundle];
  NSLog(@"Resource path for test.applescript: %@", [bundle pathForResource:@"test" ofType:@"applescript"]);
  </code></pre>
  
  <p>pathForResource always returns null.</p>
  
  <p>Both files are correctly imported in xcode. The target membership is my app.
  Solutions from similar questions didn't really help</p>
  
  <p>What am i doing wrong?</p>