getting started with ios

Christopher Scott chris at
Tue Mar 25 16:44:18 UTC 2014

Oh, another day of my learning curve to get taglib working in an iOS app.

Thank you for your suggestion. I found his 3 year old OSX project and xCode had of errors about garbage collection.

I have a project that is using a previously compiled version of taglib for a Mac app.  I am trying to learn how to compile taglib specifically for iOS and armv7, not for i386 or x86_64.

In my hours of research I have come across a few remarks for compiling for OSX, but nothing really is out there for iOS.  I am so new to cmake that it seems like there is a lot of tribal knowledge that is assumed with most projects being posted online that use taglib.

Can anyone suggest a method for getting taglib to work on IOS?

I have taglib-1.9.1 downloaded and I have tried several ways of compiling it for IOS.  I have tried creating a toolchain file and running that and just cmake commands like the one below.  Xcode keeps complaining that my files are not comiled for armv7, but for i386.  

I feel like I am close to a solution, but I am missing the correct commands for compiling to IOS.

Any suggestions or examples that anyone has had success with (for iOS)?

Mac OS X

On Mac OS X, you might want to build a framework that can be easily integrated
into your application. If you set the BUILD_FRAMEWORK option on, it will compile
TagLib as a framework. For example, the following command can be used to build
an Universal Binary framework with Mac OS X 10.4 as the deployment target:

  cmake -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_C_COMPILER=/usr/bin/gcc-4.0 \
    -DCMAKE_CXX_COMPILER=/usr/bin/c++-4.0 \
    -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.4u.sdk/ \


On Mar 24, 2014, at 3:54 PM, Christopher Scott <chris at> wrote:

> Thank you for the hint.
> I will go look for it.
> Christopher
> On Mar 24, 2014, at 3:33 PM, Ferenc <taglib-devel at> wrote:
>> Hi,
>> I got started successfully by using a pre rolled framework. It’s on GitHub, search for TagLib, a guy named Nick Ludlam made it.
>> It should be possible to do this on your own, but starting out with Xcode AND making my own framework proved to be too much for my feeble brains.
>> HtH
>> Ferenc
>> Christopher Scott schreef op 2014-03-24 21:26:
>>> Hello,
>>> I am new to the mailing list and want to start by saying thank you for any and all help that can be provided.
>>> I would like to use taglib in an iOS project, but I am unfamiliar with setting up cmake to cross compile to iOS.
>>> After what seems like a few hours of researching and getting no where … has anyone already compiled for iOS?
>>> Thanks!
>>> Christopher
>>> _______________________________________________
>>> taglib-devel mailing list
>>> taglib-devel at
>> _______________________________________________
>> taglib-devel mailing list
>> taglib-devel at
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the taglib-devel mailing list