The RedLaser SDK stub for the simulator no longer works in the iPhone simulator of XCode 3.2.3. This is due to the fact that Apple has changed the object/library format for the simulator. It affects other third party libraries as well, and it's not restricted to build for iOS 4.
When you build the application, you get the following error messages:
“_OBJC_CLASS_$_BarcodePickerController”, referenced from: Objc-class-ref-to-MyBarcodePickerController in MyBarcodePicker.o Symbol(s) not found
When will Ociptical release a new version of the SDK that fixes this problem?
I've emailed you this two weeks ago and haven't received an answer. (And we're a paying customer.) Maybe I can get an answer via this forum.
I, too get the same error. I've just sent an e-mail and waiting for an answer.
Any solution yet for Xcode 3.2.3?
This is a problem for all third-party libraries. If they were build with a previous version of Xcode, they'll need to be rebuilt for 4.0. IMHO, this is an Apple/Xcode bug -- breaking existing libraries is unacceptable. It seems they never tested this scenario before shipping 3.2.3. Unbelievable.
To solve this, I removed the simulator library from the project and conditionally compiled the code that uses BarcodePickerController. It doesn't work in the simulator anyway, so it has no effect. You also eliminate that annoying warning that was always given about the format of the library sim file.
Just use something like
#if( !TARGET_IPHONE_SIMULATOR ) BarcodePickerController* picker = [BarcodePickerController new]; ... #endif
I am using XCode 3.2.3 i have the same issue, any one resolve this issue?
It looks like you're new here. If you want to take part in the discussions, click one of these buttons!