mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 04:54:04 -08:00
[iphone] updated README
git-svn-id: https://zxing.googlecode.com/svn/trunk@1434 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
8e142f1f24
commit
9e5e997e96
|
@ -22,18 +22,12 @@ How to include ZXingWidget in a easy and clean way:
|
|||
application's target. Under the "General" tab you will see a "Direct Dependencies" section.
|
||||
Click the "+" button, select "ZXingWidget", and click "Add Target"
|
||||
|
||||
4. Finally, we need to tell your project where to find the ZXingWidget headers. Open your
|
||||
4. Finally, you need to tell your project where to find the ZXingWidget headers. Open your
|
||||
"Project Settings" and go to the "Build" tab. Look for "Header Search Paths" and double-click
|
||||
it. Add the relative path from your project's directory to the
|
||||
"zxing/iphone/ZXingWidget/Classes" directory. Make sure you click the checkbox "recursive path" !
|
||||
|
||||
5. Ultimately you need to make a tweak so that ZXing actually decodes barcode. In target section, double
|
||||
click on your project target, and go to the build tab. Look for the "Exported Symbols Files" and
|
||||
double-click on it. Att the relative path to the exportList files in "/zxing/iphone/ZXingWidget/exportList".
|
||||
This will tell the linket to actually link with some key classes so that this code registers the necessary
|
||||
decoders.
|
||||
|
||||
6. You're ready to go. Just #import <ZXingWidgetController.h> from anywhere and it should work !
|
||||
5. You're ready to go. Just #import <ZXingWidgetController.h> from anywhere and it should work !
|
||||
|
||||
Know issues for above steps to include:
|
||||
======================================
|
||||
|
|
|
@ -259,7 +259,7 @@
|
|||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
DEAD_CODE_STRIPPING = NO;
|
||||
EXPORTED_SYMBOLS_FILE = ../ZXingWidget/exportList;
|
||||
EXPORTED_SYMBOLS_FILE = "";
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
|
@ -280,7 +280,7 @@
|
|||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
COPY_PHASE_STRIP = YES;
|
||||
EXPORTED_SYMBOLS_FILE = ../ZXingWidget/exportList;
|
||||
EXPORTED_SYMBOLS_FILE = "";
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = ScanTest_Prefix.pch;
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
|
|
Loading…
Reference in a new issue