dyld:未加载库:AVFoundation.framework原因:找不到图像 [英] dyld: Library not loaded: AVFoundation.framework Reason: image not found

查看:68
本文介绍了dyld:未加载库:AVFoundation.framework原因:找不到图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我该如何解决?

dyld: Library not loaded: /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation   Referenced from: /Users/[...]/Library/Application Support/iPhone Simulator/User/Applications/[...]/TestGame.app/TestGame   Reason: image not found

推荐答案

您需要将此框架添加到Xcode.

You need to add this Framework to Xcode.

右键单击框架">选择添加">现有框架" 找到"AVFoundation",然后选择添加".

Right-click on "Frameworks" > Choose Add > Existing Frameworks Locate "AVFoundation" then choose Add.

如果要手动添加,请选择另一个按钮并导航至:

If you want to add it manually, choose the other button and navigate to:

/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.1.sdk/System/Library/Frameworks/AVFoundation.framework/

用您要构建的版本替换iPhone SDK版本.

Replace the iPhone SDK version with whatever you are building against.

也许还会看到以下答案:缺少AVFoundation.framework

Perhaps also see this answer: Missing AVFoundation.framework

此外,有时您只需要关闭Xcode,然后清理并重建即可.

Also, sometimes you just need to close Xcode, then clean and rebuild.

这篇关于dyld:未加载库:AVFoundation.framework原因:找不到图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆