Question

Tasked with converting wav to mp3 in my mac program, I've downloaded and compiled the LAME encoder. I was wondering how I then use it in my xcode project? Previous 3rd party libraries have been in the form of a framework, but LAME just produces a dylib.

Thank you.

Was it helpful?

Solution

The use of a dynamic library is similar to a Framework Apple doc on dynamic libraries

The library will need to be in a known place

In the target build options set the header and library search paths. To use the library drag it into Xcode (These set the -I -L and -l options to the compiler)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top