Please add dependency framework IOKit, CoreFoundation and AppKit to your project.
