我如何知道某个系统包头属于哪个 MacOS 版本?
How do I know to which MacOS version a certain system package header belongs?
例如,对于位于 security_systemkeychain-55202
here or Security-58286.20.16
here 中的头文件和源文件,我如何知道哪个 MacOS 版本兼容或将与它们一起使用?这些不同的版本是什么意思?
您需要从 opensource.apple.com 的顶层开始,选择所需的 macOS 版本,然后搜索软件包名称。因此,例如:https://opensource.apple.com/ -> click 10.14.1 under macOS -> https://opensource.apple.com/release/macos-10141.html -> search for "security_systemkeychain" -> finds security_systemkeychain-55207.50.1.
我不知道反向的方法,从特定版本的包到相应版本的 macOS。
包版本对 Apple 没有意义。
例如,对于位于 security_systemkeychain-55202
here or Security-58286.20.16
here 中的头文件和源文件,我如何知道哪个 MacOS 版本兼容或将与它们一起使用?这些不同的版本是什么意思?
您需要从 opensource.apple.com 的顶层开始,选择所需的 macOS 版本,然后搜索软件包名称。因此,例如:https://opensource.apple.com/ -> click 10.14.1 under macOS -> https://opensource.apple.com/release/macos-10141.html -> search for "security_systemkeychain" -> finds security_systemkeychain-55207.50.1.
我不知道反向的方法,从特定版本的包到相应版本的 macOS。
包版本对 Apple 没有意义。