Declaration of 'sysctlbyname' must be imported from module 'Darwin.sys.sysctl' b

当Xcode5 出现此警告信息时

在你使用的地方

 

#include <sys/sysctl.h>

就可以啦 

猜你喜欢

转载自duchengjiu.iteye.com/blog/2030787