本文介绍了尝试在iOS(iPhone)应用程序中使用CIFilter时如何解决链接器错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下链接错误:

架构armv7的未定义符号: 从以下位置引用的"_OBJC_CLASS _ $ _ CIFilter": CameraViewController.o中的objc-class-ref 从以下位置引用的"_OBJC_CLASS _ $ _ CIImage": CameraViewController.o中的objc-class-refld:找不到架构armv7的符号clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

Undefined symbols for architecture armv7: "_OBJC_CLASS_$_CIFilter", referenced from: objc-class-ref in CameraViewController.o "_OBJC_CLASS_$_CIImage", referenced from: objc-class-ref in CameraViewController.old: symbol(s) not found for architecture armv7clang: error: linker command failed with exit code 1 (use -v to see invocation)

我已经包含了QuartzCore.framework.

I already have included the QuartzCore.framework.

推荐答案

您需要Library/Frameworks/CoreImage.framework

You need Library/Frameworks/CoreImage.framework

http://developer.apple.com/library/ios/#DOCUMENTATION/GraphicsImaging/Reference/QuartzCoreFramework/Classes/CIImage_Class/Reference/Reference.html

这篇关于尝试在iOS(iPhone)应用程序中使用CIFilter时如何解决链接器错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-16 00:15