libFLAC for iOS

In a previous post we talked about using Google’s Voice Recognition web service for voice recognition in iOS apps. Part of the process involved compiling libFLAC for iOS. This includes building a 386 binary for the simulator and an arm7 binary for the device. This is a pain point if you are new to C or if the thought of cross-compilation gives you the heebee-geebees.

I came across a great tutorial on github for creating Frameworks for use in other iOS apps. We followed this tutorial and created a github project for building libFLAC as an iOS framework. You can clone the repository and start using libFLAC in your own iOS applications. Don’t forget to checkout our open-sourced project wav_to_flac for converting WAVE-encoded files generated by Apple into FLAC-encoded files using libFLAC.

Enjoy Buddies!

This entry was posted in iOS, Technical. Bookmark the permalink.

4 Comments for this post
  1. Alex says:

    Hello I tried to build the project on Xcode 4.5 but at the moment of building it I get

    /Users/dalex/Desktop/FLACiOS/libFlac/include/private/ogg_encoder_aspect.h:35:10: ‘ogg/ogg.h’ file not found

    How can we solve this issue??

  2. Michael says:

    Hi Jason,

    I have installed libogg.a in /usr/local/bin on my Mac, but when running the FLACiOS project I am getting ‘ogg/ogg.h file not found’. I’m guessing I haven’t installed libogg correctly, but I’m not sure where to go from here? Any thoughts/suggestions from you would be much appreciated.


  3. Dilip says:

    Please checkout my question and plz help me with this topic. Greatly appreciate. “”

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>