0 votes
Hi,

I'm trying to implement PDF Reader to import local PDF to the device. On Android it works just fine. But when I try to compile on iOS i get a whole bunch of errors.

Errors I get :

Undefined symbols for architecture armv7:

  "_SetWebViewContentOffset", referenced from:

      _PDFReader_SetWebViewContentOffset_m2055193570 in Bulk_Assembly-CSharp-firstpass_0.o

      _PDFReader_SetWebviewPageOffset_m2432804368 in Bulk_Assembly-CSharp-firstpass_0.o

     (maybe you meant: _PDFReader_SetWebViewContentOffset_m2055193570)

  "_CacheData", referenced from:

      _PDFReader_CacheData_m591139678 in Bulk_Assembly-CSharp-firstpass_0.o

      _PDFReader_OpenDocInWebViewRemote_m418888597 in Bulk_Assembly-CSharp-firstpass_0.o

      _PDFReader_OpenDocInWebViewRemote_m3984265501 in Bulk_Assembly-CSharp-firstpass_0.o

      _PDFReader_CachePDFData_m1661873758 in Bulk_Assembly-CSharp-firstpass_0.o

     (maybe you meant: _PDFReader_CacheData_m591139678)

  "_OpenDocumentCGWithCallback", referenced from:

      _PDFReader_OpenDocumentCGWithCallback_m558566844 in Bulk_Assembly-CSharp-firstpass_0.o

     (maybe you meant: _PDFReader_OpenDocumentCGWithCallback_m558566844)

  "_OpenDocumentInWebViewRemoteWithCallback", referenced from:

      _PDFReader_OpenDocumentInWebViewRemoteWithCallback_m2175528151 in Bulk_Assembly-CSharp-firstpass_0.o

     (maybe you meant: _PDFReader_OpenDocumentInWebViewRemoteWithCallback_m2175528151)

  "_IsCached", referenced from:

      _PDFReader_IsCached_m1983779468 in Bulk_Assembly-CSharp-firstpass_0.o

      _PDFReader_IsPDFCached_m1453240576 in Bulk_Assembly-CSharp-firstpass_0.o

     (maybe you meant: _PDFReader_IsCached_m1983779468)

  "_OpenDocumentInWebViewRemote", referenced from:

      _PDFReader_OpenDocumentInWebViewRemote_m3285344852 in Bulk_Assembly-CSharp-firstpass_0.o

     (maybe you meant: _PDFReader_OpenDocumentInWebViewRemoteWithCallback_m2175528151, _PDFReader_OpenDocumentInWebViewRemote_m3285344852 )

  "_OpenHTML", referenced from:

      _PDFReader_OpenHTML_m2975246019 in Bulk_Assembly-CSharp-firstpass_0.o

     (maybe you meant: _PDFReader_OpenHTML_m2975246019, _PDFReader_OpenHTMLLocal_m3720807884 )

  "_OpenDocumentCG", referenced from:

      _PDFReader_OpenDocumentCG_m1776163567 in Bulk_Assembly-CSharp-firstpass_0.o

     (maybe you meant: _PDFReader_OpenDocumentCG_m1776163567, _PDFReader_OpenDocumentCGWithCallback_m558566844 )

  "_OpenDocumentInWebViewLocalWithCallback", referenced from:

      _PDFReader_OpenDocumentInWebViewLocalWithCallback_m278063080 in Bulk_Assembly-CSharp-firstpass_0.o

     (maybe you meant: _PDFReader_OpenDocumentInWebViewLocalWithCallback_m278063080)

  "_OpenDocumentInWebViewLocal", referenced from:

      _PDFReader_OpenDocumentInWebViewLocal_m2864087653 in Bulk_Assembly-CSharp-firstpass_0.o

     (maybe you meant: _PDFReader_OpenDocumentInWebViewLocal_m2864087653, _PDFReader_OpenDocumentInWebViewLocalWithCallback_m278063080 )

  "_OpenDocumentInMenu", referenced from:

      _PDFReader_OpenDocumentInMenu_m2982802833 in Bulk_Assembly-CSharp-firstpass_0.o

      _PDFReader_OpenDocInMenu_m1363306578 in Bulk_Assembly-CSharp-firstpass_0.o

     (maybe you meant: _PDFReader_OpenDocumentInMenu_m2982802833)

ld: symbol(s) not found for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Waiting for your reply,

Regards.
asked Sep 6, 2016 by Drjver (120 points)

1 Answer

0 votes
You can test it only on real device not simulator
answered Sep 6, 2016 by IndieYP (1,730 points)
Hi, I have the same pb. I don't use the simulator but real ipad.
How can I fix it ?
Thank you
Try import  MessageUI.framework in Xcode
Welcome to IndieYP Q&A, where you can ask questions and receive answers from other members of the community.
27 questions
23 answers
42 comments
1,529 users