当我尝试将第三方框架(由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.
更多推荐
何时检查“如有需要,复制项目";嵌入式二进制文件?
发布评论