我认为错误是由AVAudioPlayer()或OALSimpleAudio.sharedInstance()造成的?它也可能是因为没有安装某个框架,或者这个音频框架可能已被弃用了?
I am getting this error:
"_OBJC_CLASS_$_OALSuspendHandler", referenced from:
objc-class-ref in libcocos2d.a(ALDevice.o)
objc-class-ref in libcocos2d.a(ALSource.o)
objc-class-ref in libcocos2d.a(OALAudioTrack.o)
objc-class-ref in libcocos2d.a(OALAudioTracks.o)
objc-class-ref in libcocos2d.a(ALContext.o)
objc-class-ref in libcocos2d.a(OpenALManager.o)
objc-class-ref in libcocos2d.a(ALListener.o)
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)