Linker Warnings with Tool Target in Xcode 3.2.2
Linker Warnings with Tool Target in Xcode 3.2.2
- Subject: Linker Warnings with Tool Target in Xcode 3.2.2
- From: Karl Moskowski <email@hidden>
- Date: Fri, 16 Apr 2010 10:44:37 -0400
I first noticed this when trying to build Sparkle with Xcode 3.2.2 (released March 30). I don't recall the problem in previous versions.
The warnings happened for Sparkle's relaunch tool target. I get them for each built architecture:
Directory '/Users/karl/Projects/build/Debug' following -L not found
Directory '/Users/karl/Projects/build/Debug' following -F not found
(I set Xcode to use a shared location for build products, but it also happens with the default setting of "in the project directory")
Upon further investigation, I found that the problem is that all of Sparkle's build configurations have the "Build Active Architecture Only" setting unchecked. When I check it (for the Debug config, e.g.), the warnings don't happen.
I've discovered that it happens with all command line tool targets. Create a new Foundation command-line tool project and build it immediately. The Debug config (where the setting is checked by default) builds fine; the Release config (where it's unchecked), results in the warnings.
The problem doesn't happen in package-type targets (e.g. Cocoa apps), because there are earlier build steps that create the directories in question.
I couldn't find a setting in either the target or project that causes these directories to be appended to the ld command. Can they be suppressed? Since the targets seem to build OK, can these warnings be ignored?
Thanks.
----
Karl Moskowski <email@hidden>
Voodoo Ergonomics Inc. <http://voodooergonomics.com/>
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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