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 7036861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:28:28+00:00 2026-05-28T01:28:28+00:00

Mac OS X Lion v10.7.2 Xcode v4.2.1 Build 4D502 gcc version 4.2.1 (Based on

  • 0

Mac OS X Lion v10.7.2
Xcode v4.2.1 Build 4D502
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Thu Nov 3 21:59:02 UTC 2011)

I have a bunch of images in my resource folder, but when I delete those images and run in simulator again, the images are still there. I have completely deleted the images from the Project Editor window (not from Finder), and I used DELETE (not Remove Reference Only), and they are still showing up in the simulator. If I add new images back in (with the same names) thru the Project Editor window (not from Finder) the old ones are still being used as well instead of the new ones.

I have tried:

1) Deleting images from Project Editor window.

2) Delete app from simulator (click and hold, then delete while wobbling), then restart computer.

3) Choosing Product > Clean.

4) Choosing Product > Option+Clean.

5) Choosing Show Package Contents of .xcodeproj file, and deleting everything in the xcuserdata folder.

This is an incredibly annoying bug!

How do I tell Xcode to stop using cached images?

I am newbie, so something like “Clean Targets” does not mean anything to me, unless you give me the instructions on how to do it as well.

Thanks

EDIT:

Here is another option we all missed, which might do the same thing as deleting the /Simulator/../Applications folder:
In the iOS Simulator menu, there is an option called Reset Content and Settings …
it never occured to me that the simulator was a separate app from Xcode, so I never thought to check menu items while simulator had focus!

  • 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-05-28T01:28:28+00:00Added an answer on May 28, 2026 at 1:28 am

    Manually removing the build folder may help. Clean does not always do this properly, for reasons unknown. The build folder used to be in the project directory, but now (also) exists in ~/Library/Developer/Xcode/DerivedData/


    Solved by original poster:

    Oh wait I had a brainstorm because of your suggestion above, and from
    Terminal I used: find . -name ‘myimage.png’ 2> /dev/null and I found
    the secret hidden cache! It is in my user library here:
    ~/Library/Application Support/iPhone Simulator/4.3.2/Applications/
    Just delete everything in the Applications directory. May also need to
    do this one as well: ~/Library/Application Support/iPhone
    Simulator/5.0/Applications/

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

Sidebar

Related Questions

My environment: Mac OS X v10.7.2 with Xcode 4.2.1 I am trying to build
gcc is symbolically linked to llvm-gcc on Mac OS X Lion. prosseek ~> ls
How do I get the command-line build tools installed with the current Xcode/Mac OS
With Xcode 4 on OS X 10.7, Lion, Apple introduced a fantastic new way
I am running the following in Perl v5.12.3 on Mac OS X v10.7.2 (Lion):
I just upgraded my Mac to Mac OS X v10.7 (Lion), and now Git
I am trying to install Xcode 4.1 GM on my Lion mac but it's
I bought a new mac (Lion), downloaded xcode, installed it, then found out it
I'm using Mac Lion 10.7.1, MacVim Snapshot 61, Vim version 7.3 I want to
The following simple program segfaults on my mac (Lion) running gcc 4.2.1: #include <iostream>

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.