今天遇到了 “@synthesize of ‘weak’ property is only allowed in ARC or GC mode” (1)可以将’weak‘修改为’assgin‘ (2)将对应的报错文件在Build Phases中的Compiler Flags后添加“-fobjc-arc”