将二进制链接与库VS嵌入框架 [英] Link Binary with libraries VS Embed Frameworks

查看:80
本文介绍了将二进制链接与库VS嵌入框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在将框架放入链接二进制文件与库"或嵌入框架"之间,在构建阶段有什么区别?

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

推荐答案

将二进制文件与库链接 将框架和库与项目的目标文件链接,以生成一个二进制文件.您可以将目标的源文件链接到目标的活动SDK中的库,也可以链接到外部库.

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.

-

时间轴 (看这句话) -如果您包含的应用目标链接嵌入式框架,则它必须包含arm64架构,否则它将被App Store拒绝."

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."

这篇关于将二进制链接与库VS嵌入框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆