Re: Re: Xcode -replacing source files causes undefined symbols
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