• 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: Cannot produce executable target for command line tool in xcode 4.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot produce executable target for command line tool in xcode 4.3


  • Subject: Re: Cannot produce executable target for command line tool in xcode 4.3
  • From: "Glenn L. Austin" <email@hidden>
  • Date: Thu, 19 Jul 2012 07:36:17 -0700


On Jul 19, 2012, at 6:30 AM, Joe Armstrong wrote:



On Thu, Jul 19, 2012 at 2:32 PM, Roland King <email@hidden> wrote:
Doesn't work quite like that. You really wouldn't want Xcode stuffing random development code in /usr/local/bin every time you built it now would you. Xcode keeps all the built product in wonderfully segregated directories, segregated by platform, debug and release etc etc. So when you build a debug version of your app, it doesn't go stomp on the release one you built last month.

If you look at the build log (it's one of the tabs on the organizer), it's quite easy to find where it built what it ran in your debug session, for instance I have a PNG splitter, I just looked, it's here

I'm sorry I can't find a build log in the organiser. I opened the organiser by clicking
on a little button that looks like a filing cabinet in the top right hand corner of the xcode screen
a thing called organiser opens. It has 5 icons on the top bar calleddevices, repositories,projects archives and documentation.

I searched for "build log" in the xcode help - it returned 27 system guides 9 tools guide and 26 entries in sample code - but sadly I still can't find this information.

The guide "Building and running apps" talks about the "base SDK"
and their is an illustration referring to ioS4.3 - in fact the documentation at this point never
mentions Mac os x - strange since I'm developing on mac os x for mac os x and have no interest in
ioS. The entire "Building and running apps" seems to be write from the POV that I'm developing for an 
ipad or iPhone - but I'm not.

Xcode is like almost every other system, following a variation of the "configure/make/make install" steps, only in this case it will be Archive, go to the Archives tab in the Organizer, click on the archive that was created, click on the Distribute button and save the built products. That will create a directory with the resulting files relative to that path. Tar and untar as necessary.

Or you can use the xcodebuild command-line tool to build and install, just xcodebuild build install. Add a clean before build and you'll get a completely rebuilt install (similar to "configure/make clean/make/make install").

-- 
Glenn L. Austin, Computer Wizard and Race Car Driver         <><
"Where there's breath, there's hope!"
<http://www.austin-soft.com>

 _______________________________________________
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: Cannot produce executable target for command line tool in xcode 4.3
      • From: Joe Armstrong <email@hidden>
References: 
 >Cannot produce executable target for command line tool in xcode 4.3 (From: Joe Armstrong <email@hidden>)
 >Re: Cannot produce executable target for command line tool in xcode 4.3 (From: Roland King <email@hidden>)
 >Re: Cannot produce executable target for command line tool in xcode 4.3 (From: Joe Armstrong <email@hidden>)

  • Prev by Date: Re: Cannot produce executable target for command line tool in xcode 4.3
  • Next by Date: Re: Cannot produce executable target for command line tool in xcode 4.3
  • Previous by thread: Re: Cannot produce executable target for command line tool in xcode 4.3
  • Next by thread: Re: Cannot produce executable target for command line tool in xcode 4.3
  • Index(es):
    • Date
    • Thread