• 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
Xcode Build Issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode Build Issue


  • Subject: Xcode Build Issue
  • From: Andreas Grosam <email@hidden>
  • Date: Sun, 23 Oct 2011 21:38:48 +0200

I just discovered some oddness when building a program in Xcode 4.2:

I have a console program (some kind of test) running on Mac OS X that links against a static library. The static library and the console program are in different projects and all are members within the same workspace. Build products go into the same folder.

The "Build" part of the scheme for building the main program contains a second target, the static library. This target becomes first, then the main program follows. "Find Implicit Dependencies" is checked, "Parallelized Build" is unchecked.

Suppose, the executable has been build once.
Now, when I change a source file which belongs to the static library target, and build the main program again, the static library will be compiled as expected. However, the main program and the symbol file will not be created/updated.


Some notes to the transcript pane:
When looking at the transcripts, it appears Xcode *always* reports *everything* that can be possibly precompiled, compiled, copied or linked, etc., even though there is no need to do this. Actually, it won't do this, and the time-stamp proves this, but there is no visual difference that makes this obvious and clear.

Anyway, here in this case, the executable file and the symbols file will *actually* not be created/updated. The time-stamp of the link phase for the executable indeed proves that the executable has not been updated.



Any hints?


Thanks in advance
Andreas




 _______________________________________________
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: Xcode Build Issue
      • From: Joar Wingfors <email@hidden>
  • Prev by Date: Re: Apple ID works on iTunes, App Store - won't work on Apple Developer Site
  • Next by Date: Re: erroneous template
  • Previous by thread: Re: erroneous template
  • Next by thread: Re: Xcode Build Issue
  • Index(es):
    • Date
    • Thread