Re: Xcode -replacing source files causes undefined symbols
Re: Xcode -replacing source files causes undefined symbols
- Subject: Re: Xcode -replacing source files causes undefined symbols
- From: Chris Espinosa <email@hidden>
- Date: Thu, 24 Aug 2006 00:31:59 -0700
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.
|
_______________________________________________
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