I am using this
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
Importing that
#import <AudioToolbox/AudioServices.h>
Then an error is what I got!
Undefined symbols for architecture armv7:"_AudioServicesPlaySystemSound
Why is that?
I am using this
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
Importing that
#import <AudioToolbox/AudioServices.h>
Then an error is what I got!
Undefined symbols for architecture armv7:"_AudioServicesPlaySystemSound
Why is that?
Copyright © 2021 Jogjafile Inc.
You probably haven't added the
AudioToolbox.frameworkto your project.You can do this in the
Build Phasessection of your Target configuration. UnderBuild PhasesselectLink Binary with Libraries. Make sureAudioToolbox.frameworkis in the list of frameworks. If it isn't click the+button at the bottom and selectAudioToolbox.frameworkfrom the list.