GPUimage框架在iOS 7.1的设备中显示错误

时间:2014-04-30 09:32:44

标签: ios gpuimage

我正在使用我的应用中的GPUImage 框架。它工作得很好,但当我试图在设备中运行应用程序iOS 7.1时显示错误。

ld: warning: ignoring file /Users/user/Library/Developer/Xcode/DerivedData/app-fhjyuaovocdkvnfdpxllwvwplxei/Build/Products/Debug-iphoneos/libGPUImage.a, file was built for archive which is not the architecture being linked (armv7): /Users/user/Library/Developer/Xcode/DerivedData/app-fhjyuaovocdkvnfdpxllwvwplxei/Build/Products/Debug-iphoneos/libGPUImage.a
Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_GPUImageContrastFilter", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_GPUImageSaturationFilter", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_GPUImageExposureFilter", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_GPUImageAdaptiveThresholdFilter", referenced from:
      objc-class-ref in ViewController.o
      objc-class-ref in WSCall.o
  "_OBJC_CLASS_$_GPUImageGrayscaleFilter", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_GPUImagePicture", referenced from:
      objc-class-ref in ViewController.o
      objc-class-ref in WSCall.o
  "_OBJC_CLASS_$_GPUImageBrightnessFilter", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_GPUImageSharpenFilter", referenced from:
      objc-class-ref in ViewController.o
      objc-class-ref in WSCall.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

正在使用模拟器和我的其他设备iOS 7.0.3

1 个答案:

答案 0 :(得分:0)

应该修改有效的架构armv7 => armv7s,arm64