Create Tools package from PDFViewCtrlTools Objective-C source code
Before you get started, it is a good idea to first have some basic knowledge on the topic. Xamarin provides a comprehensive guide on Binding Objective-C and we recommend you to briefly go through it. Please note that you will not need to create a binding project as it is already provided in the package.
Apryse iOS SDK for Xamarin is a completely open source binding project. By the end of this tutorial, you will be able to create PDFTron.iOS.Tools from source.
Download the Apryse for Xamarin.iOS SDK package, refer to as
PDFNetXamarin.iOSpackage belowDownload the Apryse for iOS SDK package, refer to as
PDFNetiOSpackage belowIn
PDFNetiOSpackage, update the/Lib/Tools/src/PDFViewCtrlToolsproject in Xcode as you wishOnce you are done with changing the source code in Objective-C, create
Tools.frameworkby clean build from Xcode, the output can be found in/PDFViewCtrlTools/build/Release-Universalfolder, make sure your build configuration in Xcode looks like the following:
Copy
Tools.frameworkfrom previous step toPDFNetXamarin.iOS/lib/ios/NativefolderCopy
PDFNet.frameworkfromPDFNetiOS/Framework-dynamictoPDFNetXamarin.iOS/lib/ios/Nativefolder, yourPDFNetXamarin.iOS/lib/ios/Nativefolder should now look like this:

From
PDFNetXamarin.iOSpackage, open/projectSrc/PDFNetiOSXamarin/PDFNetiOSXamarin.slnin Visual Studio for MacClean the project
Build
PDFViewCtrlToolsprojectYou can find the output
PDFTron.iOS.Tools.nupkginPDFNetXamarin.iOS/lib/iosfolder
Last updated
Was this helpful?