Osx - sdl2 mixer


I have a problem with sdl2_mixer that i download from https://www.libsdl.org/projects/SDL_mixer/.
I use Xcode 9.1 (on osx 10.12.6). The mix_init() function fails. It returns Mix_Init: FLAC support not available or Mix_Init: MP3 support not available etc. I tried to manually compile lib and i got a libSDL2_mixer-2.0.0.dylib file but it doesn’t link correctly in Xcode (since the other libs are frameworks perhaps)

Can you help me ? thank you!