1、问题现象:
项目中导入TUTKP2P/TUTKMedia.Framework后,debug调试源码会产生类似如下错误:
dyld: Library not loaded: @rpath/TUTKP2P.framework/TUTKP2P
Referenced from: /var/containers/Bundle/Application/F757FD35-7D9C-402D-8C7D-C9A448F46185/Media SDK.app/Media SDK
Reason: image not found
(lldb)
2.解决方法:
由于动态库未正确加载,需要使用Embedded binaries 方式引入Framework;