有没有办法将CorePlot框架编译为包括arm架构的通用构建?
当我在Xcode12上打开项目时,我确保选择了Standard Architecture,但它似乎不起作用。我已经在终端上使用文件命令测试了它,我只得到了x86_64的1个版本。
有没有办法检查$(ARCHS_STANDARD)变量值是什么?
CorePlot框架:https://github.com/core-plot/core-plot
发布于 2020-09-10 06:48:20
确保您使用的是release-2.4分支上的代码。在构建框架之前,从窗口顶部的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 https://stackoverflow.com/questions/63815945
复制相似问题