1,brew install
2, export path for the compiler to find
3, start a new comandline project on xcode
4, build settings,search paths library search paths ,add the paths of include file and lib
5, create a group, drag the lib file into it.
6, done
1,brew install
2, export path for the compiler to find
3, start a new comandline project on xcode
4, build settings,search paths library search paths ,add the paths of include file and lib
5, create a group, drag the lib file into it.
6, done