我想使用由于IOKit库例如用于检索OSX相关的系统信息如下所述:https://developer.apple.com/library/mac/technotes/tn1103/_index.html无法解析OSX编译错误
用于建筑x86_64的未定义符号:
“_IOObjectRelease”,从引用:.. 。
“_IORegistryEntryCreateCFProperty”,从引用:...
“_IOServiceGetMatchingService”,从引用:...
“_IOServiceMatching”,从引用:...
“_kIOMasterPortDefault”,从引用:...
LD:符号(S)没有发现建筑x86_64的
铛:错误:链接器命令失败,退出代码1(使用-v查看调用)
我正在使用“-framework CoreFoundation”和“-framework IOKit”。
它不重复的,因为我还没有联系其对错误的目标,但我有错字:(
可能的[使用I/O工具包在XCode](http://stackoverflow.com/questions/38119627/build-fails-when-using-methods-from-io-kit-on-xcode) – pmdj