Try Adding into your appDelegate.h
Code:
#import <AudioToolbox/AudioToolbox.h>
The corresponding playSound method
Code:
-(void)playSound: (NSString *)sound withExt:(NSString *)extension{
NSString *soundPath = [[NSBundle mainBundle] pathForResource:sound ofType:extension];
SystemSoundID soundID;
AudioServicesCreateSystemSoundID((CFURLRef) [NSURL fileURLWithPath:soundPath], &soundID);
AudioServicesPlaySystemSound(soundID);
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
}