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.
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.
- Parsing xml attribute using GDataXMLDocument
- How to Localize NSPhotoLibraryUsageDescription key (ALAssets)
- MKAnnotation, simple example
- is there a limit to the number of bundle id's that one can specify for native iOS apps?
- How to read plist information (bundle id) from a shell script
- Is there any way to use window.onbeforeunload on Mobile Safari for iOS devices?
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.
- How to ask the Apple Review team to review an app more quickly than usual?
- in app purchase in SKScene
- Multiple scatterplots using Core Plot and Swift
- How to mask the layer of a view by the content of another view?
- How to open ios app using url?
- Xcode 5 & Asset Catalog: How to reference the LaunchImage?
- iOS builds / ipa creation no longer works from the command line
- Static cells: Content does not appear
- objc_sync_enter / objc_sync_exit not working with DISPATCH_QUEUE_PRIORITY_LOW
- UIView background color in Swift
- Save image in UIImageView to iPad Photos Library
- What is Prefix.pch file in Xcode?
- Swift: Contextual type 'AnyObject' cannot be used with dictionary literal
- How can I break out of two nested for loops in Objective-C?