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!
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??
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.
Thanks,
Michael