Mac Apple Silicon 通用构建的 CorePlot 框架

CorePlot framework with universal build for Mac Apple Silicon

有没有办法将 CorePlot 框架编译为包括 arm 架构在内的通用构建?

当我在 Xcode 12 打开项目时,我确保 select 标准架构,但它似乎没有工作。我已经在终端上使用文件命令对其进行了测试我只为 x86_64.

获得了 1 个构建

有没有办法检查 $(ARCHS_STANDARD) 变量值是多少?

CorePlot 框架: https://github.com/core-plot/core-plot

确保您使用的是 release-2.4 分支上的代码。在构建框架之前,从 window 顶部的 Scheme 菜单中选择“Any Mac (Apple Silicon, Intel)”而不是“My Mac”。

$ lipo -info (build folder)/CorePlot.framework/Versions/A/CorePlot 
Architectures in the fat file: (build folder)/CorePlot.framework/Versions/A/CorePlot are: 
x86_64 arm64