xcode 如何将“复制文件构建阶段”添加到我的目标
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4365479/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to add a 'Copy Files build phase' to my Target
提问by TheLearner
I am trying to use a framework that requires me to add a 'Copy Files build phase' to my target. Does anyone know what this means and how to do it?
我正在尝试使用一个框架,该框架要求我向目标添加“复制文件构建阶段”。有谁知道这意味着什么以及如何做到这一点?
采纳答案by Blitz
Right-Click on your target in XCode, select add "new build phase" and then "new copy files build phase".
在 XCode 中右键单击您的目标,选择添加“新构建阶段”,然后选择“新复制文件构建阶段”。
回答by barrast
In Xcode 5, you have to click on your target, then on Editor(menu bar) --> Add build phase--> Add Copy Files Build Phase:
在 Xcode 5 中,您必须单击target,然后单击Editor(菜单栏)--> Add build phase--> Add Copy Files Build Phase:
回答by Vivek
A "DIY" answer: Go to Xcode --> Help --> type your query, e.g., "add copy". And Xcode helpfully points you in the right direction.
“DIY”答案:转到 Xcode --> 帮助 --> 输入您的查询,例如“添加副本”。Xcode 会帮助您指明正确的方向。
回答by Adam
In Xcode 4, the option is in Editor->Add Build Phase.
在 Xcode 4 中,该选项位于 Editor->Add Build Phase 中。
The Copy Files build phase then appears in the Project Navigator and you can add things to it by clicking the plus.
Copy Files 构建阶段随后出现在 Project Navigator 中,您可以通过单击加号向其中添加内容。