Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to README #38

Closed
reststop opened this issue Feb 28, 2013 · 2 comments
Closed

Updates to README #38

reststop opened this issue Feb 28, 2013 · 2 comments

Comments

@reststop
Copy link

Of note, using latest XCode versions, this may save a lot of people some headaches.

  1. In the ZXingObjC project, make the headers available for importing to your project.
    -- Select the ZXingObjC project, under "Build Settings" locate "Public Headers Folder Path"
    -- Enter "$(TARGET_NAME)" in the field.
If you are using ZXingObjC as a binary library, you may also want to set the directory where the library files are built.
-- Select the ZXingObjC project, under "Build Settings" locate "Installation Directory"
-- Enter "$(BUILT_PRODUCTS_DIR)" in the field.
  1. In your project, make the headers of the library findable.
    -- Select the project, under "Build Settings" locate "User Header Search Paths"
    -- Enter "$(BUILT_PRODUCTS_DIR)" in the field.
  2. Now, you can import the library headers, just like any other framework:

    import ... (can't put angle brackets in the text) ...

@cwalcott
Copy link
Contributor

cwalcott commented Mar 4, 2013

Thanks, I've decided to update the instructions to just describe adding the files directly to the project, with the note that CocoaPods can be used as well.

@cwalcott cwalcott closed this as completed Mar 4, 2013
@vamcyimmanni
Copy link

Having trouble importing ZXingObjC to my project.Can anyone provide the steps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants