I am having a problem with libTools.a when following the PDFTron BLOG article, step 2: getting-started-on-ios
Step 1, works. I have a working PDF viewer, but no controls other then paging and zooming.
When I add the libTools.a library (the one that came in the SDK, or the one I built using Tools.xcodeproj, I receive the following error for every platform I try (simulator, ipad2, iphone6 - architecture name changes for each):
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_DraggableCollectionViewFlowLayout", referenced from:
objc-class-ref in libTools.a(ThumbnailsViewController.o)
ld: symbol(s) not found for architecture x86_64
Judging by the error message, it sounds like you may need to add /Lib/src/PDFViewCtrlTools/ThirdParty/DraggableCollectionView into your project. This is required for the ThumbnailsViewController.