我刚刚安装了 Xcode 5.1,发现它肯定需要项目使用 ARC。我明白了
error: garbage collection is no longer supported
尝试编译 Core Plot(1.4 版)时。出于好奇,我告诉 Xcode 将 Core Plot 转换为 ARC。但它失败了
ARC forbids Objective-C objects in struct
在文件中CPTPlatformSpecificFunctions.m
。我不想通过尝试修复此错误或类似错误来深入研究 Core Plot 并破坏某些内容。是否有我忽略的编译器设置?或者很快会有一个使用 ARC 的 Core Plot 版本?谢谢,德克