"Cannot find executable for CFBundle/CFPlugIn" error
        Posted  
        
            by Emil
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Emil
        
        
        
        Published on 2010-02-26T22:24:48Z
        Indexed on 
            2010/04/28
            7:43 UTC
        
        
        Read the original article
        Hit count: 428
        
Cannot find executable for CFBundle/CFPlugIn 0x432bfa0 </Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin> (not loaded)
Cannot find function pointer NewPlugIn for factory C5A4CE5B-0BB8-11D8-9D75-0003939615B6 in CFBundle/CFPlugIn 0x432bfa0 </Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin> (not loaded)
That's the error I get when I try to run this code:
    NSString *path = [[NSBundle mainBundle] pathForResource:[arraySubFarts objectAtIndex:indexPath.row] ofType:@"mp3"];
    NSURL *file = [[NSURL alloc] initFileURLWithPath:path];
    AVAudioPlayer *player = [[AVAudioPlayer alloc]
                       initWithContentsOfURL:file error:nil];
    self.player = player;
    [player prepareToPlay];
    [player setDelegate:self];
    [self.player play];
Any idea why? :S
I have included the needed frameworks, and the code works great, the only thing is this odd Console-message..
© Stack Overflow or respective owner