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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:16:37+00:00 2026-05-26T15:16:37+00:00

As a current Xcode project of mine has gotten larger and larger, I’ve noticed

  • 0

As a current Xcode project of mine has gotten larger and larger, I’ve noticed that quite often, Xcode seems to “recompile the world” when I make a change to a single non-header file from emacs. Not always, but a lot. I think it might have always been doing this, but when the project was small, I never noticed or cared. Now that the project’s fairly big, it’s absolutely killing my productivity. How the heck do I stop this?

  • 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-26T15:16:37+00:00Added an answer on May 26, 2026 at 3:16 pm

    (Yeah … answering my own question [https://meta.stackexchange.com/questions/17845/etiquette-for-answering-your-own-question%5D).

    It took me a fair amount of tracking to nail this … but definitely worth it.

    It boils down to the lock files that emacs creates to detect simultaneous edits from multiple emacs processes. These files are (invalid) symlinks from .#<filename> to <host:pid>. Xcode absolutely hates these files (so do some other tools I use … though I’m blanking on what they are right now … might even have been xcodebuild.) Xcode.app doesn’t actually raise any errors but it seems to chuck its dependence information. These lock files are not backup files: they exist when you’ve changed the contents of a file but not yet saved it, so what you get is behavior where just making a local change in an emacs buffer ends up causing a “rebuild the world” even though nothing’s been saved.

    There isn’t, at this point, any way of disabling these lock files. The issue was raised on the emacs list a few months ago but died out without any resolution.

    To work around the problem, you have to disable the lock files at compile time. You do the normal configure dance, then in src/config.h, after the #include for the os and machine configs, add #undef CLASH_DETECTION

    I’ve filed a radar with Apple.

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

Sidebar

Related Questions

I created in my Xcode project an form that has 2 text fields in
I have an xcode project that has 4 targets (2 apps, 1 iPhone and
Current, I've got a stored procedure that has a main goal of doing a
My current development project has two aspects to it. First, there is a public
I'm looking for an Xcode project file that will let me trivially build a
Have added the Xcode Projects for openssl.xcodeproj and sqlcipher.xcodeproj in a current project and
Since upgrading to Xcode 3.2.1, I've experienced a strange issue that has really killed
when i create a cocos2d projecyt, XCode menu item Project\Upgrade Current Target for iPad
I just upgraded to Xcode 4. I have a project that is still dependent
Since there is no Xcode script variable for current project directory, how can you

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.