Creating a Copy Files Build
Phase
To copy files when building or installing a target:
- Click the Targets tab, select the target's
name, click the Files tab, and choose Project > New Copy Files
Build Phase.
- Choose where to place the files.
Choose where to copy
the files:- If you choose Absolute
Path, the files are copied to the location specified in the Path
field.
- If you choose another name, the files are copied into the folder
of that name within your bundle. To copy the files to a subfolder
within that folder, enter the subfolder's name in Subpath.
- If you want to copy the files only when installing the target's product,
select "Copy only when installing."
Otherwise, the files
are copied whenever the target is built.
- Select the files to copy.
Drag the files to the Files
field.