xcodebuild trying to compile things twice and exploding
xcodebuild trying to compile things twice and exploding
- Subject: xcodebuild trying to compile things twice and exploding
- From: gabe taubman <email@hidden>
- Date: Sat, 26 Mar 2005 17:31:39 -0500
Hi,
I've been having REALLY weird problems with xcodebuild. It fails on
absolutely everything (essentially). Projects that compile perfectly
fine from within xcode don't compile with xcodebuild. Also, it tries
to compile each file twice. If I do first, xcodebuild clean, and
after that do xcodebuild -buildstyle Development it first copies all
the files, and then I get this:
CompileC build/MusicHand.build/MusicHand.build/Objects-normal/ppc/main.o
main.m normal ppc objective-c com.apple.compilers.gcc.3_3
mkdir -p /Users/gtaubman/Programs/MusicHand/build/MusicHand.build/MusicHand.build/Objects-normal/ppc
cd /Users/gtaubman/Programs/MusicHand
gcc -x objective-c -arch ppc -pipe -std=c99 -Wno-trigraphs
-fasm-blocks -fpascal-strings -g -O0 -mtune=G4 -fmessage-length=0
-ffix-and-continue -fzero-link
-F/Users/gtaubman/Programs/MusicHand/build
-I/Users/gtaubman/Programs/MusicHand/build/include
-I/Users/gtaubman/Programs/MusicHand/build/MusicHand.build/MusicHand.build/DerivedSources
-Wp,-header-mapfile,/Users/gtaubman/Programs/MusicHand/build/MusicHand.build/MusicHand.build/MusicHand.hmap
-include /Users/gtaubman/Programs/MusicHand/build/MusicHand.build/SharedCaches/MusicHand_Prefix-cxuehptfutyemscnuqlrdiaepiod/MusicHand_Prefix.pch
-c /Users/gtaubman/Programs/MusicHand/main.m -o
/Users/gtaubman/Programs/MusicHand/build/MusicHand.build/MusicHand.build/Objects-normal/ppc/main.o
mkdir -p /Users/gtaubman/Programs/MusicHand/build/MusicHand.build/MusicHand.build/Objects-normal/ppc
cd /Users/gtaubman/Programs/MusicHand
gcc -x objective-c -arch ppc -pipe -std=c99 -Wno-trigraphs
-fasm-blocks -fpascal-strings -g -O0 -mtune=G4 -fmessage-length=0
-ffix-and-continue -fzero-link
-F/Users/gtaubman/Programs/MusicHand/build
-I/Users/gtaubman/Programs/MusicHand/build/include
-I/Users/gtaubman/Programs/MusicHand/build/MusicHand.build/MusicHand.build/DerivedSources
-Wp,-header-mapfile,/Users/gtaubman/Programs/MusicHand/build/MusicHand.build/MusicHand.build/MusicHand.hmap
-include /Users/gtaubman/Programs/MusicHand/build/MusicHand.build/SharedCaches/MusicHand_Prefix-cxuehptfutyemscnuqlrdiaepiod/MusicHand_Prefix.pch
-c /Users/gtaubman/Programs/MusicHand/main.m -o
/Users/gtaubman/Programs/MusicHand/build/MusicHand.build/MusicHand.build/Objects-normal/ppc/main.o
** BUILD FAILED **
Note how it's trying to compile main twice. Also, if I copy and paste
from gcc -x to the end of the line (to main.o) and just run that from
a shell that works no problem. If I then run xcodebuild again, it'll
make it past this file, but die when it tries to do the next file
(which of course it attempts to compile twice, where it succeeds on
the first try, but then dies when it tries to do it again).
I've checked the targets and I don't have every file in there twice or
anything like that. Does anybody have any advice?
Thanks!
Gabe
_______________________________________________
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