【报错】dyld: Library not loaded:

dyld: Library not loaded: @rpath/PLPlayerKit.framework/PLPlayerKit
Referenced from: /var/containers/Bundle/Application/24587E3E-1AC6-4D24-9750-2B1970B5F18A/hello_world-mobile.app/hello_world-mobile
Reason: image not found
(lldb)

【解决方式1】

Build Phases > Link Binary With Libraries >
选中PLPlayerKit,设置右侧的 Required 为 Optional

【解决方式2】

General > Frameworks, Libraries, and Embedded Content
选中PLPlayerKit, 设置右侧的Do not Embed为Embed&Sign

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。