Undefined symbols for i386 architecture:

I get the following error when trying to use pdf.h and pdf.mm in my application.

ld: warning: ignoring file /Users/aditya/Desktop/PDFStudy/zdll.lib, the file was created for an archive that is not related to architecture (i386)

"_ convertPDF" referenced by:

  -[PDFStudyViewController readPDF] in PDFStudyViewController.o

ld: character (s) not found for i386 architecture

collect2: ld returned 1 exit status

0
source share
1 answer

This is because your library /Users/aditya/Desktop/PDFStudy/zdll.libwas compiled for other architectures, for example, arm6or arm7, used in the iPhone.

, , i386.

+3

Source: https://habr.com/ru/post/1623290/


All Articles