该错误信息是我在一个.h文件里申明了公共变量,然后在其他类里重复使用. Build Settings ->No Common Blocks默认为YES,编译器就报错了,需要修改Build Settings里的No Common Blocks为NO. NO Common Blocks 是什么? 官方的解释是: In C, allocate even uninitialized global variables in the data section of the object file, rath