• 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: Re: Xcode -replacing source files causes undefined symbols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Xcode -replacing source files causes undefined symbols


  • Subject: Re: Re: Xcode -replacing source files causes undefined symbols
  • From: "Bruce Johnson" <email@hidden>
  • Date: Thu, 24 Aug 2006 11:11:06 -0700

Thank you so much.  I found the bug, and the fix worked great.


On 8/24/06, Chris Espinosa <email@hidden> wrote:



On Aug 24, 2006, at 12:09 AM, Bruce Johnson wrote:


I'm pretty new to the Xcode development environment so this may be a

basic question.




I have an involved project with many ~100 source files. I

accidentally changed the target setting for a group of files, when I

restored the target setting, I get errors on compile:

multiple definitions of symbol: .....(function names from various classes)

You probably have encountered a bug where checking the target membership box
in the inspector can add a file to a target a second time.  You're getting
multiple definition errors because of source files that are being compiled
twice.

Disclose the target, disclose the Compile Sources build phase, and remove
any duplicates (select and press Delete).  Then rebuild.

Chris


_______________________________________________
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: 
 >Xcode -replacing source files causes undefined symbols (From: "Bruce Johnson" <email@hidden>)
 >Re: Xcode -replacing source files causes undefined symbols (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Project compiles but won't run under xCode 3.0 - class lookup error
  • Next by Date: Re: Reindent pathetically slow
  • Previous by thread: Re: Xcode -replacing source files causes undefined symbols
  • Next by thread: Testing async code with OCUnit
  • Index(es):
    • Date
    • Thread