Undefined symbols for architecture x86_64:


#1

Kindly assist on this. Why am I getting this error in Xcode 9.3.

 

Undefined symbols for architecture x86_64:

  “_OBJC_CLASS_$_RPScreenRecorder”, referenced from:

      objc-class-ref in MobileRTC

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)


#2

HI stor:

You need to add ReplayKit.framework as link binary with libraries to your project.


#3

BTW, Please set ReplayKit.framework as optional, not required in case of crash on system before iOS 10.*.