right button click project->Settings->Linker->
Options
add
-framework ApplicationServices
others lib
-framework IOKit -framework CoreFoundation -framework SystemConfiguration
right button click project->Settings->Linker->
Options
add
-framework ApplicationServices
others lib
-framework IOKit -framework CoreFoundation -framework SystemConfiguration