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

查看:17
本文介绍了将二进制文件与库 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天全站免登陆