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

  • Home
  • SEARCH
  • 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 8291267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T13:04:35+00:00 2026-06-08T13:04:35+00:00

Xcode keeps prompting telling me I don’t have a certain image in the project

  • 0

Xcode keeps prompting telling me I don’t have a certain image in the project and it errors when I try to build. If I deleted the .png Xcode is complaining about from the project, why does Xcode error out when I try to build?

[Edited by Rhubarb (got too big for the comments)]

I’m getting the same thing with these details. The copy command looks like this

CpResource MyIcons/../13-bicycle.png /Users/Me/Library/Developer/Xcode/DerivedData/MyProject-cxsohyxdecdbptgrrtaixbhhixrj/Build/Products/Debug-iphonesimulator/MyProject.app/13-bicycle.png

then there’s a bunch of setenv and the command is translated to “builtin-copy” but none of that matters, the result is when I compile I get this error:

error: /Users/Me/Development/MyProject/MyIcons/../13-bicycle.png: No such file or directory

Now, I opened the Copy Bundle Resources tab as suggested by Robert Harvey, and my .png is there, with nothing appearing in read. And it is in the file system (Finder) and in the Project Navigator. So I deleted it from the resources using the – button and added it manually using the + button at the bottom left of the list in the Copy Bundle Resources tab. This put it at the root of the project in the Navigator, so I moved it into my group again – but no luck, same error. So I just deleted it altogether (from the Project Navigator, allowing it to be moved to Trash). That worked, but I ran into the same error with the very next icon (it only reports one or two at a time).

Looking at the error message, it appears to think that MyIcons is a folder. It’s not, it’s just a group. There is no such folder, I can see in the file system.

When I added via drag-drop, I left the “Copy items into … group folder (if needed)” checked and the “Create groups for any added folders” button selected. But note that I only dragged icons (en masse) into an existing group; I did not drag over any folders, nor where any groups or folders created. But somehow, the compiler thinks that these resources are in a folder in the file system that doesn’t exist.

I right clicked the icon in the Copy Resources List and tried both Show in Finder and Reveal in Project Navigator: and both worked – the file is there and it knows where to get it – until it builds.

I haven’t even found a workaround beyond deleting the icons yet – cleaning doesn’t work. I think my group is corrupted.

  • 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-08T13:04:36+00:00Added an answer on June 8, 2026 at 1:04 pm

    look up here XCode Build – CopyPNGFile Error and No Such File or Directory .
    I had same problem and this solution helps me.

    If you receive either of these annoying errors when building your
    xcode app, something has corrupted in your project bundle.

    1. Open your project in Xcode
    2. Click on your project
    3. Click on your project under Targets
    4. Hit the build phases tab
    5. Open “Copy Bundle Resources” near the bottom
    6. Look for any resources listed in red!
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I added an icon image (PNG) to my iPhone application project in Xcode 4.2.
Xcode keeps crashing on me when I open my project file. I've been able
I have a project with two different versions. I keep two targets in xcode
Xcode keeps picking my developer provision. This is even if I pick Don't Code
I am developing project in xCode 4.3 for Mac. Lately I have purchased new
While working on an Xcode project i keep getting the spinning wheel while switching
I have install the latest Xcode but this keep occurring. How could I solve
I am keep seeing such errors but the xcode never shows the line that
Xcode allows you to create automated scripts for performing repetitive tasks. What scripts have
I'm not sure what I'm doing wrong, but Xcode keeps saying Expected expression. What

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.