Link Binary with libraries VS Embed Frameworks

后端 未结 3 1903
春和景丽
春和景丽 2020-12-02 15:13

What\'s the difference in the build phases between putting a framework in \"Link binary with libraries\" or in \"Embed frameworks\"?

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-02 15:41

    Link binary with libraries Link frameworks and libraries with your project’s object files to produce a binary file. You can link a target’s source files against libraries in the target’s active SDK or against external libraries.

    Embed Frameworks You can create an embedded framework to share code between your app extension and its containing app.

    -

    Timeline (Look at this sentence) - "If your containing app target links to an embedded framework, it must include the arm64 architecture or it will be rejected by the App Store."

提交回复
热议问题