Xcode not building app with changes incorporated

After upgrading to Lion, Xcode 4.1 is no longer building my iOS apps with the latest changes incorporated (i.e code, bundle name, icon changes).

Before the upgrade, when I was using Snow Leopard, no matter what the change, or even if I replaced a file outside of Xcode with Finder or used an external text editor, Xcode would always build a fresh copy with all of the changes incorporated, without having to do any extra steps.

  • Why is my new view controller not appearing?
  • Calling javascript from objective-c code
  • How to achieve an advanced table view header
  • dispatch_async vs. dispatch_sync using Serial Queues in Grand Central Dispatch
  • iOS: Navigation bar with images for buttons
  • Dynamic Height of UITableViewCell
  • Now, Xcode seems to insist on using a previous version, and the only way I can be sure that it will build with all of the changes incorporated is do a Product > Clean from the main menu and then restart Xcode.

    What’s going on here? Is there a simple setting that I am missing? I never had to anything except click Run when I was on Snow Leopard, and all changes were always incorporated without a glitch. If I can’t fix this I am going to revert to Snow Leopard.

    6 Solutions Collect From Internet About “Xcode not building app with changes incorporated”

    Delete the “Build” folder in your app’s folder on your computer and try running the app again. That should fix it.

    Lion is known to have this issues with Xcode. I solved this by installing the newest beta available. If you don’t have access to the newest beta try uninstalling and reinstalling. To uniinstall:

    sudo /Developer/Library/uninstall-devtools –mode=all

    Go the folder


    delete the projects that you want them to rebuild.

    It works for me to make the modified file take in effect after I run it.

    I’ve experienced plenty of issues with taking “old” projects into newer versions of Xcode. If it’s not TOO painful, I’d make a new project and just add all your classes and resources to it to make sure it’s fresh for Xcode. This isn’t trivial in some cases, but it’s more likely to fix your issue.

    Had a similar effect where every change appeared to be ignored, Xcode said it compiled but the simulator showed a previous version. Even when I did a clean and rebuild.
    The problem was in the simulator, I noticed 2 icons of the same project. I uninstalled them both in the emulator and run it again, this time correctly with all my changes.
    Guess the problem appeared because of changes in the name of the project bundle, this must have confused the simulator. so deleting the apps in the simulator did the trick.

    I faced same problem and I solved this.

    On creating build and after installation of app if you don’t get the changes that you made in it, means ‘.app’ was not updated properly.

    To fix this problem:->

    First delete ‘.app’ from project in Product folder and then make
    archive (Xcode-> Menu Bar-> Product-> Archive, we dont do any thing of
    this archive, Now close that organizer window)

    Now clean your project and then make build by taping build option.
    Now build is updated with your latest work.