You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Of note, using latest XCode versions, this may save a lot of people some headaches.
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.
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.
Now, you can import the library headers, just like any other framework:
import ... (can't put angle brackets in the text) ...
The text was updated successfully, but these errors were encountered:
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.
Of note, using latest XCode versions, this may save a lot of people some headaches.
-- Select the ZXingObjC project, under "Build Settings" locate "Public Headers Folder Path"
-- Enter "$(TARGET_NAME)" in the field.
-- Select the project, under "Build Settings" locate "User Header Search Paths"
-- Enter "$(BUILT_PRODUCTS_DIR)" in the field.
import ... (can't put angle brackets in the text) ...
The text was updated successfully, but these errors were encountered: