Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8978849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T19:42:21+00:00 2026-06-15T19:42:21+00:00

How does one remove files from a Xcode Project? I’m having troubles by pressing

  • 0

How does one remove files from a Xcode Project? I’m having troubles by pressing “Delete” and then selecting “Remove References”.

I ask because I moved a bunch of PNGs from <root> to <root>/icons/ (after creating the icons subdirectory). I removed the PNGs from the project, and then re-added the PNGs under the new location. I also added an “icons” folder under “Resources” in Xcode. It results in CopyPNG failures due to the old path.

Some testing revealed that Xcode does not remove the references in the PBXPROJ file. Which begs the question, what exactly am I removing from the project if a reference remains? It also begs, how do I truly expunge the data from the project so I can cleanly add it again?

Jeff

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T19:42:22+00:00Added an answer on June 15, 2026 at 7:42 pm

    Here are my thoughts..

    1. Right-click the file –> Delete –> RemoveReference

    It will remove only the linked reference from your project.The files will not be deleted. They will exist in the project folder. When you require the file again , just browse the files from the project folder and add to your project. Note that "Copy items into the destination group’s folder" option should be unchecked.

    2. Right-click the file –> Delete –> Move To Trash

    It will remove all the files and linked reference from your project. When you require the file again , you have to browse the files from its downloaded/original location and add to your project.Note that "Copy items into the destination group’s folder" option should be checked.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How does one use rm to delete a file named '--help'? When I try,
I ported one project from Visual C++ 6.0 to VS 2010 and found that
I had removed some files from my iOS project a while back and thought
I needed to remove a fair number of large files from a directory. I
How does one process large binary data files in Clojure? Let's assume data/files are
What is the best way to remove duplicate lines from large .txt files like
How does one revert a remote git repo after a reset done locally? We
does one perform better over the other in terms of indexing/quering etc ? e.g.
How does one wait until all of the Javascript is loaded before curling a
How does one implement a multithreaded single process model in linux fedora under c

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.