Search code examples
iospdfcocoapodsmupdf

iOS #include "mupdf/fitz.h" not found issue


I am integrating muPDF library in my projects.I already update cocopods and install pods again. Its showing an issue.

#include "mupdf/fitz.h" library not found. 

https://i.sstatic.net/TOjm6.png

Any possible solution for this issue ?


Solution

  • It looks like you're trying to build https://github.com/jogu/MuPDF-example ?

    I just cloned that, and ran:

    gem install cocoapods
    pod install
    

    then opened MuPDF-example.xcworkspace and hit "Run".

    Everything worked, it displayed hello-world.pdf.

    I'm using Xcode 7.3.1 and CocoaPods 1.0.1, and the very latest code on the master of that git repo for the example (I'm the owner of that repo btw :) ). If exactly the same thing is falling for you, try deleting everything and starting again. Did you make any changes to the example project?