ios - 使用 AVPlayerseekToTime 时 Apple Mach-O 链接器错误 :kCMTimeZero

标签 ios objective-c avplayer

尝试重新启动影片剪辑时出现此错误。

Apple Mach-O Linker Error
"_kCMTimeZero", referenced from:
Linker command failed with the exit code 1 (use -v to see invocation)

我查看了构建阶段,它包含 AVFoundation 框架

查看了其他 Apple Mach-O 链接器错误,这让我尝试进行干净的构建,重新启动 XCode 和操作系统。但这并没有帮助。

最佳答案

您需要 CoreMedia 框架才能使用 kCMTimeZero

关于ios - 使用 AVPlayerseekToTime 时 Apple Mach-O 链接器错误 :kCMTimeZero,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43884750/

相关文章:

ios - 向 NSArray 添加元素

android - 我可以将 Microsoft Lens 集成到我的应用程序中吗?

ios - 'GPUImageOutput<GPUImageInput>' 没有可见的@interface 声明选择器 'imageFromCurrentlyProcessedOutputWithOrientation:'

ios - 检测 AVQueuePlayer 中的当前项并知道它何时更改?

swift - 带有 AWS Cookie 的 AVPlayer 使用 AirPlay

swift - 如何在 iOS 13 中串流远程音频? ( swift 用户界面)

objective-c - iPhone : disable multi touch for App

ios - 我是否需要为我的每个应用程序申请证书才能在应用程序商店上发布?

objective-c - 在 ARC 上为原子属性创建 Setter Getter 时出错

objective-c - 父类(super class)中的静态变量