在自己 demo 工程運(yùn)行是那么的流暢链患,但是一給游戲那邊巧鸭,就有如下的問題點(diǎn)!麻捻!原來是沒有導(dǎo)入 ReplayKit 框架時(shí)纲仍,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)