iOS App Slicing 会删除通用静态库中不需要的部分吗?

Does iOS App Slicing remove unneeded parts of universal static libraries?

我有一个 iOS 项目链接到通用静态库(.a 文件),同时支持 armv7 和 arm64 架构。当应用程序二进制文件被分割为 App Thinning 的一部分时,该过程是否会从 .a 文件中删除不必要的架构?或者我是否需要以某种方式为每个体系结构提供单独的 .a 文件以在二进制大小上获得这种好处(如果是这样,我该怎么做)?

变薄应该只 link 所需的足弓。

来自另一个静态库(包括 link Apple 关于如何获取 App Thinning 报告的文档):

The IndoorAtlas iOS SDK is a static library compiled for multiple architectures. Only required architectures are linked to the Thinned application. You may test the thinning results locally with these instruction: Testing Your iOS App - "The App Thinning Size Report file contains a summary of the sizes of all variants and the app-thinning.plist file contains more details."

取消link 库,获取基线 App 瘦身报告。 Link 图书馆,获取新报告并将两者进行比较。