title: Running the project by build is not working in MAC OSX 10.7
body: <pre><code>-(void)artworkImages{
  NSArray *noOfSongs = [mySongsArray content];
  for (int i=0; i&lt;[noOfSongs count]; i++) {
      NSDictionary *dic = [[NSDictionary alloc] init];
      dic = [[mySongsArray arrangedObjects] objectAtIndex:i];
      NSURL *url = [NSURL fileURLWithPath:[dic objectForKey:@"Path"]];
      AVURLAsset *asset = [AVURLAsset URLAssetWithURL:url options:nil];
     for (NSString *format in [asset availableMetadataFormats]) {
          for (AVMetadataItem *item in [asset metadataForFormat:format]) {
              if (i&gt;240 &amp;&amp; i&lt;250) {
                  NSBeginAlertSheet(@"Check the loop", @"Delete", nil, @"Cancel", window, self, @selector(alertEnd:returnCode:cInfo:), NULL, nil, @"format===%@,%d",format);
              }
          }
     }
  }
  </code></pre>
  
  <p>}    </p>
  
  <p>Above methods is working fine if I run the project by Code (X code), but getting issue if I run by build. I am importing songs from iTunes library.xml, after that I am storing into <code>NSArrayController</code>. Here in this method I am trying to fetch artwork images but if I run by build I am getting around 250 images out of 400.</p>