Xamarin iOS DLL is very large!?!

113 views
Skip to first unread message

Ryan

unread,
Feb 12, 2016, 4:36:08 PM2/12/16
to PDFTron PDFNet SDK
Question:
The PDFNet DLL for iOS Xamarin is ~120MB. Why is this so large, and how do I reduce the size for my project?

Answer:
The PDFNet iOS DLL contains multiple architectures. At the time your project gets linked, only the required binary data will be used.

The DLL sizes will not be reflected in the final app size due to code being optimized away by the linker.  So the app size increase will be much less than the size of the libraries.

You can see this, for example, in our sample app PDFNetiOSXamarinSample, the final device executable size is around ~30MB.

The following links provide some further background:



Reply all
Reply to author
Forward
0 new messages