Swift 运行 时间库与 Swift 标准库

Swift Run Time Library vs. Swift Standard Library

在此tutorial on how to use CocoaPods中,我无法理解以下段落:

Unlike Objective-C, the standard Swift runtime libraries aren’t included in iOS! This means your framework must include the necessary Swift runtime libraries. As a consequence, pods written in Swift must be created as dynamic frameworks. If Apple allowed Swift static libraries, it would cause duplicate symbols across different libraries that use the same standard runtime dependencies.

这是我的问题:

  1. "standard Swift Runtime Libraries"到底是什么? Swift Standard Library是这样一个标准的swift运行时间库,我在swift写的框架会被认为是swift运行时间库吗?

  2. "Swift runtime libraries are not included in iOS"到底是什么意思?我想我在推断 "iOS" 所指的内容时遇到了麻烦。

任何关于本段的额外见解、链接、资源或解释将不胜感激!

编辑:

看完runtime library wiki article我不再对Q1感到困惑了。以下段落为我阐明了这一点:

The concept of a runtime library should not be confused with an ordinary program library like that created by an application programmer or delivered by a third party, nor with a dynamic library, meaning a program library linked at run time. For example, the C programming language requires only a minimal runtime library (commonly called crt0), but defines a large standard library (called C standard library) that has to be provided by each implementation.

但是我仍然对 Q2感到困惑。

Objective C 有一个稳定的(不变的)运行时库,因此由 OS (macOS/iOS) 提供的库的一个共享副本是有意义的,可用于所有需要它的应用程序。相比之下 Swift 是一种快速发展的语言,这意味着它的运行时库在版本之间经历了巨大的变化。因此,Xcode 将 Swift 运行时库的副本作为每个应用程序的一部分捆绑在一起,以确保运行时库的正确版本(应用程序使用的版本)的副本可用到应用程序。