在自己 demo 工程运行是那么的流畅,但是一给游戏那边,就有如下的问题点!!原来是没有导入 ReplayKit 框架时,RPScreenRecorder 和 RPBroadcastActivity-+ViewController 是 ReplayKit。
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_RPScreenRecorder", referenced from:
objc-class-ref in GDReplayKitLive.o
objc-class-ref in GDCamera.o
objc-class-ref in GoodReplayFunction.o
"_OBJC_CLASS_$_RPBroadcastActivityViewController", referenced from:
objc-class-ref in GDReplayKitLive.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)