• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Duplicate symbols but missing files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Duplicate symbols but missing files


  • Subject: Re: Duplicate symbols but missing files
  • From: Andrew Pontious <email@hidden>
  • Date: Mon, 11 Sep 2006 10:44:13 -0700

On Sep 10, 2006, at 6:09 PM, Jeff Birac wrote:

I have migrated a CW8 project to Xcode and am using CVS for the SCM. I am having trouble with invalid (duplicate) Debug Symbols.

The Project Symbols smart group shows two entries (a duplicate?) for most of my classes; however, my project includes each source file only once. One of each symbols' two entries is inaccessible – Xcode claims the source file can not be found. The path Xcode shows for the unfound file's path contains a folder that has been renamed (after the migration to Xcode).

Try rebuilding your project's Code Sense index. Double-click the top- level node in the Groups & Files tree. In the resulting inspector window, go to the General tab and click the "Rebuild Code Sense Index" button at the bottom.


Why does Xcode retain the invalid symbols (with inaccessible paths)? A "Clean All" does not resolve anything; the invalid symbols remain. In fact, the class browser shows a single entry for each class and lists their members, but the class' source paths are invalid (i.e., clicking a member entry prompts an error that the file/path cannot be found.) Why would the browser list a class but not access the source code that is actually being compiled? How do I make Xcode "forget" about the old source files (now renamed paths) and associate with the current source code only?

You mention two things:

- Project Symbols
- Debug Symbols

These two things are actually completely separate. The Xcode project index does not use information from the debugger at all. Instead, it parses the files and header in your project on its own. This is why rebuilding the code didn't help.

The index can get out of sync or corrupted some times, especially if you move your project from one location to another. The solution is to rebuild the index.

Hope this helps,

-- Andrew _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Duplicate symbols but missing files (From: Jeff Birac <email@hidden>)

  • Prev by Date: Re: Broken 10.2.8 SDK with Xcode 2.4 update?
  • Next by Date: Re: Build errors
  • Previous by thread: Duplicate symbols but missing files
  • Next by thread: Build errors
  • Index(es):
    • Date
    • Thread