我收到以下错误 –
GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:52:12 UTC 2011)
copyright 2004 Free Software Foundation,Inc.
GDB is free software,covered by the GNU General Public License,and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type “show copying” to see the conditions.
There is absolutely no warranty for GDB. Type “show warranty” for details.
This GDB was configured as “x86_64-apple-darwin”.Attaching to process 71564.
dyld: Symbol not found: _OBJC_CLASS_$_AVCaptureDevice
Referenced from: /Users/qianfan/Library/Application Support/iPhone Simulator/4.2/Applications/XXXX-XXXX/XXXX.app/XXXX
Expected in: /Developer/Platforms/iPhonesimulator.platform/Developer/SDKs/iPhonesimulator4.2.sdk/System/Library/Frameworks/AVFoundation.framework/AVFoundation
in /Users/qianfan/Library/Application Support/iPhone Simulator/4.2/Applications/XXXX-XXXX/XXXX.app/XXXX
sharedlibrary apply-load-rules all
(gdb)
我的应用程序正在使用(静态引用)最新的ZXing iphone代码(截至2011-03-31 2001-04-24测试的两个版本).
我相信AVCaptureDevice存在于所有iOS 4.0中,而zxing正在支持ios 4.0.
当我做:
Macintosh:zxing-trunk XXX$grep _OBJC_CLASS_$_AVCaptureDevice /Developer/Platforms/iPhonesimulator.platform/Developer/SDKs/iPhonesimulator4.3.sdk/System/Library/Frameworks/AVFoundation.framework/*
Binary file /Developer/Platforms/iPhonesimulator.platform/Developer/SDKs/iPhonesimulator4.3.sdk/System/Library/Frameworks/AVFoundation.framework/AVFoundation matches
有什么建议?我会在这找什么?非常感谢.
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。