title: Compile libtiff for iOS project to include 64bit architecture
body: <p>I have an iOS app updated to the latest SDK8.3 and I am using the latest version of Xcode. My app uses libtiff to convert an image (in PNG format) to TIFF format. The problem I have is that I need to submit a new revision to the App Store and needs to incorporate 64 bit architecture. The libtiff library in my project is old and I have to update to the latest version.</p>
  
  <p>I have downloaded libtiff 4.0.3 from the official download site ( ftp.remotesensing.org) but I can't build it for the needed architectures, I get an error. I have read <a href="https://stackoverflow.com/questions/17169300/how-to-make-libtiff-for-an-xcode-project-and-an-ios-application">this post</a> but is is a little outdated and I presume Apple changed the toolchain in Xcode 6 compared to Xcode 5 or Xcode 4. </p>
  
  <p>I am not an expert in the gcc / llvm toolchain and I am a bit lost here. I just need the tiff library in my Xcode project and successfully compile it. I've tried to build the library myself but it builds just for OS X and I need iOS.</p>
  
  <p>Documentation about TIFF in iOS is scarce and I would prefer to use PNG, but for business reasons I need to use TIFF. Has anyone successfully compiled libtiff into a fat binary to include the 5 required architectures (i386, x86_64, arm64, armv7, armv7s)?</p>
  
  <p>I only need tiff conversion but without jpg compression, so I am guessing I do not need the jpeg library.</p>