Cordova 3.5 iOS - CDVCamera的Xcode Apple Mach-O Linker错误

Dwe*_*gaz 6 iphone xcode ios phonegap-plugins cordova

我在cordova(3.5)项目的构建阶段遇到错误:

Undefined symbols for architecture i386:
"_CGImageDestinationAddImageFromSource", referenced from:
  -[CDVCamera imagePickerControllerReturnImageResult] in CDVCamera.o
... and 15 more of those
Run Code Online (Sandbox Code Playgroud)

很多帖子指出,我必须将CDVCamera.m文件添加到编译源代码部分.没有条目我没有得到错误...显然我的应用程序将无法在这种情况下使用相机.我尝试了不同版本的插件,但没有任何改变.

有什么我可能已经忘记了吗?

Ada*_*abi 15

我有同样的问题,我已设法从xcode修复它:选择目标输入Build Phases> Link Binary With Libraries你应该添加ImageIO.frameworkCoreGraphics.framework

我的设置图像:http://screencast.com/t/rsxZrUkyslAY

  • 感谢上帝创造你 (4认同)