何时检查“如有需要,复制项目";嵌入式二进制文件? [英] When to check "Copy items if needed" for embedded binaries?

查看:37
本文介绍了何时检查“如有需要,复制项目";嵌入式二进制文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试将第三方框架(由carthage安装)放入嵌入式二进制文件时,我得到了这样的选择.我很困惑,因为嵌入式二进制文件是在构建项目时复制到应用程序包中的二进制文件",它已经是副本而不是链接,为什么我要副本?

When I tried to put a third-party framework(installed by carthage) in the embedded binaries, I got such an option. I got confused, since "Embedded binaries are binary files that are copied to your application bundle when you build the project", It is already a copy instead of a link, why do I want a copy of a copy?

推荐答案

如果需要复制项目"与构建应用程序无关.这意味着立即复制到项目文件夹中(如果尚未将其复制到项目文件夹中).我建议您总是说是,因为否则您的项目可能最终取决于项目文件夹中未包含的内容,因此您可能会意外丢弃或重命名这些内容,从而导致项目中断.

"Copy items if needed" has nothing to do with the building of your app. It means copied into the project folder, right now (if it isn't in the project folder already). I suggest you always say yes, because otherwise your project might end up depending upon stuff that isn't in the project folder, and which you might therefore throw away or rename by accident, thus causing your project to break.

这篇关于何时检查“如有需要,复制项目";嵌入式二进制文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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