Replacing graphics files in XCode

I wanted to replace some graphics files under my resources in the Xcode environment. They are currently symlinks. I wanted them to be actual files in order to zip up and send to other developers. I thought an inexperienced user may appreciate this content.

Select the graphics files with a click, and then scroll down and do a Shift Click (if the files are in a contiguous list). A click is a single tap on the touchpad. The alternate way is to hold down the command key and click once for each additional file. This creates a list of files that you’ll delete.
Now do a two finger tap on the touchpad.
Choose delete.
Choose “Also move to trash”.
Boom they’re gone.
Now go to finder in your project directory. You’ll see the links are still there. So you need to “move them to trash” also. Its the same sequence as above.
Go back to Xcode.
Double finger tap the resources tab.
Choose “Existing files”.
At the top choose the project’s default directory. I choose the drop down control, select my directory where the original graphic is and then select my graphics.
Now click “Add” or press .
Make sure “Copy items into destination group’s folder (if needed)” is selected. I do this so I can zip up the entire development directory and have zero external references.
That’s it. Just another tidbit to hopefully help you develop for the iPlatform.

  • Share/Bookmark
This entry was posted in iPod and Apple Platform and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>