• 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: xcodebuild trying to compile things twice and exploding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcodebuild trying to compile things twice and exploding


  • Subject: Re: xcodebuild trying to compile things twice and exploding
  • From: gabe taubman <email@hidden>
  • Date: Sat, 26 Mar 2005 22:25:55 -0500

Unfortunately -activebuildstyle didn't fix anything.  It still dies
after it tries to compile main the second time around.  I feel like if
it just tried to compile each file *once* then it wouldn't break :)

Any other ideas?
gabe


On Sun, 27 Mar 2005 00:13:37 +0100, Sebastien Metrot <email@hidden> wrote:
> Did you ask xcodebuild to use the active build style?
> (-activebuildstyle). I had the same kind of problems until I found out
> about the broken build style feature. (broken as in "that doesn't makes
> sense at all to me...").
>
> By the way. Has anyone found an actual use for buildstyles? Does the
> fact that changing build styles forces a complete recompilation hits you
> as valuable at all? (this realy is a serious question).
>
> Sebastien
>
> gabe taubman wrote:
>
> >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
>
 _______________________________________________
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

  • Follow-Ups:
    • Re: xcodebuild trying to compile things twice and exploding
      • From: gabe taubman <email@hidden>
References: 
 >xcodebuild trying to compile things twice and exploding (From: gabe taubman <email@hidden>)
 >Re: xcodebuild trying to compile things twice and exploding (From: Sebastien Metrot <email@hidden>)

  • Prev by Date: Re: xcodebuild trying to compile things twice and exploding
  • Next by Date: Re: Xcode 2.0 Questions and Wishlist
  • Previous by thread: Re: xcodebuild trying to compile things twice and exploding
  • Next by thread: Re: xcodebuild trying to compile things twice and exploding
  • Index(es):
    • Date
    • Thread