Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode project has lost track of file modification



On 08-07-15, at 03:19, Jonny Taylor wrote:

Ah! I've caught it in the act. Xcode (3.1) seems to be extremely confused. I've ended up somehow with two separate dedicated windows both containing separate edits of the same file.

My project lives in /Volumes/Development/scatter
The file in question lives in /Volumes/Development/Common/ jComplex.h, and is added to the project for convenience but isn't a member of any targets.


When I command-click on the window title one of them (correctly) represents the path as:
Jonathan Taylor's MacBook ... Development ... Common ... jComplex.h
The other one represents the path as:
Jonathan Taylor's MacBook ... Development ... scatter ... Development [complete with the normal hard disk icon] ... Common ... jComplex.h
This path is of course non-existent.

There's no question this is a bug on some level, but I've no idea what has got corrupted or confused in order to trigger it. Any thoughts?

Quit Xcode and peek at the MyProj.xcodeproj/project.pbxproj with a UTF-8 capable text editor. You should be able to see if the file name appears multiple times and compare those entries differences.


No, just the one entry in all cases

Well then, I don't know. I did have a similar problem (a project updated true several Xcode versions since Project Builder) and that's how I found the redundant entry. My tactic was to then to remove the file from the project, clean the project, quit Xcode, remove the Intermediates folder and the Precompiled Headers folders and then re- open the project. At that point I found an entry for that file in red so I deleted it so I re-added that file to the project.



Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Xcode project has lost track of file modification (From: Jonny Taylor <email@hidden>)
 >Re: Xcode project has lost track of file modification (From: Chris Espinosa <email@hidden>)
 >Re: Xcode project has lost track of file modification (From: Jonny Taylor <email@hidden>)
 >Re: Xcode project has lost track of file modification (From: Jonny Taylor <email@hidden>)
 >Re: Xcode project has lost track of file modification (From: Philip Aker <email@hidden>)
 >Re: Xcode project has lost track of file modification (From: Jonny Taylor <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.