While building for simulator with xCode 13.1 on iPhone 5 10.3.1 simulator I got this error:
Pods/TwilioVoice/Build/iOS/TwilioVoice.framework/TwilioVoice (3 slices)
Undefined symbols for architecture i386:
“OBJC_CLASS$_TVOAcceptOptions”, referenced from:
objc-class-ref in AppDelegate.o
“OBJC_CLASS$_TwilioVoice”, referenced from:
objc-class-ref in CallViewController.o
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbol: OBJC_CLASS$_TVOAcceptOptions
Undefined symbol: _OBJC_CLASS_$_TwilioVoice
Solution
Twilio voice doesn’t work on iPhone 5 simulator. If you run it on device then you may not face this issue.