Reputation:
I have a peculiar error when i try speech recognition framework in objective c
Undefined symbols for architecture arm64
:
"_OBJC_CLASS_$_SFSpeechAudioBufferRecognitionRequest", referenced from:
objc-class-ref in test.o "_OBJC_CLASS_$_SFSpeechRecognizer", referenced from:
objc-class-ref in test.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Upvotes: 0
Views: 2984
Reputation: 1
Go to build phases -> link binary with libraries and add speech.framework.
Upvotes: 0
Reputation: 2425
You need to add necessary framework to your project. Check all third party party framework and search its required framework for support. For e.g. if you add google analytic
then you need to add CoreData
, Foundation
etc framework. There is some framework is missing for which third party framework needs.
Or you can-
"Cmd+Shift+K"
to clean up, and quit Xcode.Delete the cache Run "rm -rf ~/Library/Developer/Xcode/DerivedData"
in terminal
Open the project and re-build it
Hope this will solve your problem.
Upvotes: 4