45
votes

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?

4

4 Answers

24
votes

Right-Click on your target in XCode, select add "new build phase" and then "new copy files build phase".

93
votes

In Xcode 5, you have to click on your target, then on Editor (menu bar) --> Add build phase --> Add Copy Files Build Phase:

XCode process to add some "Build Phase"

17
votes

A "DIY" answer: Go to Xcode --> Help --> type your query, e.g., "add copy". And Xcode helpfully points you in the right direction.

enter image description here

7
votes

In Xcode 4, the option is in 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.