What is the difference between Embedded Binaries and Linked Frameworks

前端 未结 4 1042
猫巷女王i
猫巷女王i 2020-12-12 11:37

When using external framework Xcode now has an Embedded Binaries as well as Linked Frameworks section.

When you download a

4条回答
  •  無奈伤痛
    2020-12-12 11:46

    If you embed the binary it will be included into your product. If you only link a library or framework without embedding it, it will not be part of your product.

    However, in iOS8 all 3rd party frameworks need to be "embedded". Even a framework that is shared between various programs needs to be "embedded" into every single one of those programs. In the case where it was installed on the device in a shared location, any other installation process using the same "embedded" code from the shared location can re-use that existing installation. This is specific to iOS8, it has not been possible before iOS8 and outside the iOS world this answer would not be accurate.

提交回复
热议问题