我正在制作一个应用程序,一旦计时器达到一定的限制振动.
但是,在打电话时
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);
Run Code Online (Sandbox Code Playgroud)
Xcode出现两个错误:
Undefined symbols for architecture i386:
"_AudioServicesPlaySystemSound", referenced from:
-[drawGraph drawRect:] in drawGraph.o
ld: symbol(s) not found for architecture i386
Run Code Online (Sandbox Code Playgroud)
和
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)
有关导致这些错误的原因的任何想法?