Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8409615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T23:57:36+00:00 2026-06-09T23:57:36+00:00

This may be a copy of this question How can I use the PoDoFo

  • 0

This may be a copy of this question How can I use the PoDoFo library for annotating PDFs on iOS? not responded yet.
i know how to use/create static libraries into xcode projects for iOS. i was looking for a free PDF library which support in memory editing of pdf documents and i came to know that PoDoFo done it very well, i tried to build this library for xcode but i really don’t know how to play with CMake. can any body tell me how can i use this library into my iOS application.

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T23:57:38+00:00Added an answer on June 9, 2026 at 11:57 pm

    This is an extract from Podofo ‘Read me’ file

    CMake builds on Mac OS X

    Mac OS X users can build PoDoFo using CMake either by generating conventional UNIX Makefiles (the “Unix Makefiles” CMake target) or generating an XCode project (the “Xcode” target). In either case the following applies.

    You will need freetype and fontconfig. It’s possible to omit the use of libjpeg (see the platform-independent documentation) but by default libjpeg will also be required. If you have these libraries already (say, from fink or DarwinPorts) you can skip the following section and update the CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH arguments appropriately.

    Dependencies

    I’ll assume you’re installing podofo and any required libraries into $HOME/libs . Adjust to taste, but keep it consistent.

    The easiest way to get any required libraries is to use MacPorts to install the libjpeg, fontconfig, and freetype libraries. Once you’ve installed MacPorts, just run:

     /opt/local/bin/port install fontconfig freetype jpeg tiff lua
    

    MacPorts will automatically build the libraries and their dependencies, installing them in /opt/local.

    If you want to distribute the libraries with your application, all you’ll need to do is use install_name_tool to set appropriate relative paths for their linkage and include them in your application bundle – just like you do with any other libraries.

    PoDoFo itself

    You should be able to configure and install podofo on Mac OS X using:

        cmake -G "Unix Makefiles" \
            -DWANT_FONTCONFIG:BOOL=TRUE \
            -DCMAKE_INSTALL_PREFIX=/opt/podofo \
            -DCMAKE_INCLUDE_PATH=/opt/local/include \
            -DCMAKE_LIBRARY_PATH=/opt/local/lib \
            ../podofo
        make
        sudo mkdir /opt/podofo
        sudo chown $USER /opt/podofo
        make install
    

    change “Unix Makefiles” to “Xcode” if you want to build an XCode project instead, then instead of running make' andmake install’ just open the project file and work as normal

    Instead of using ‘XCode’ in the command, type ‘Xcode’, (c lowercase) and it should do the trick.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This may be a simple question but I can;t find the answer anywhere. Here
I know this may be a silly question. but stil i have a confusion.
This may be a stupid question but I have a code with the following
this may sound a newbie question anyway Im new to GCD, I'm creating and
This may sound like a very generic question but here it goes. I have
this may sound pretty straight forward, but still I want to post this question
This may seem a bit crazy, but if you can tell me a better
This may be a stupid question, but I'm trying to replicate a customer's OpenLDAP
This may be a very basic question, but is it possible to post a
I am very new to XCode and objective-c. This question may have been answered

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.