my iphone app works in iOS 4.3 simulator, but not in any other iOS 4.0+ simulator. Despite this, he must work there.
I got the following errors:
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 modify it and / or distribute it under certain conditions. Type "show copy" to see the conditions. There are absolutely no guarantees for GDB. Enter "show warranty" for more information. This GDB has been configured as "x86_64-apple-darwin". Getting Started Processing 71564. dyld: Symbol not found: _OBJC_CLASS _ $ _ AVCaptureDevice Link 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)
My application uses (statically referenced) the latest ZXing iphone code (two versions tested for 2011-03-31 2001-04-24).
I believe that AVCaptureDevice exists in all iOS 4.0+, and zxing supports ios 4.0+. when i do this:
Macintosh: zxing-trunk XXX $ grep _OBJC_CLASS _ $ _ AVCaptureDevice / Developer / Platforms / iPhoneSimulator.platform / Developer / SDKs / iPhoneSimulator4.3.sdk / System / Library / Frameworks / AVFoundation.framework / * Binary / Developer / Platforms / iPhoneSimulator.platform / Developer / SDKs / iPhoneSimulator4.3.sdk / System / Library / Frameworks / AVFoundation.framework / AVFoundation corresponds
Any suggestions? What will I look for here? Thank you very much.
source share