• 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: Xcode 3.1: How to delete caches via CLI?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 3.1: How to delete caches via CLI?


  • Subject: Re: Xcode 3.1: How to delete caches via CLI?
  • From: Philip Aker <email@hidden>
  • Date: Sat, 12 Jul 2008 12:52:39 -0700

On 08-07-12, at 11:55, Chris Espinosa wrote:

I think this might be available:


${SHARED_PRECOMPS_DIR}

Xcode build settings are not environment variables and aren't available at the command line.

There isn't currently a command-line tool to clear the caches, though we have added a menu item in the Xcode menu.

The rm -rf command mentioned earlier should work just fine.

Well ok, but my test project for this purpose has a script phase:

if [ ${DELCACHES} -eq 1 ]; then
	echo ${SHARED_PRECOMPS_DIR} > ~/Desktop/cache.txt
fi

I built from Terminal (Xcode was not running):
export DELCACHES=1;xcodebuild

So I think one way or another, it's possible to access the build settings from a project and use them to one's advantage at the command line.


Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

_______________________________________________
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


References: 
 >Xcode 3.1: How to delete caches via CLI? (From: lbland <email@hidden>)
 >Re: Xcode 3.1: How to delete caches via CLI? (From: "Sherm Pendley" <email@hidden>)
 >Re: Xcode 3.1: How to delete caches via CLI? (From: Philip Aker <email@hidden>)
 >Re: Xcode 3.1: How to delete caches via CLI? (From: "Sherm Pendley" <email@hidden>)
 >Re: Xcode 3.1: How to delete caches via CLI? (From: lbland <email@hidden>)
 >Re: Xcode 3.1: How to delete caches via CLI? (From: Philip Aker <email@hidden>)
 >Re: Xcode 3.1: How to delete caches via CLI? (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: C++ debug problem with gcc 4.2 installed by Xcode 3.1
  • Next by Date: Re: Xcode 3.1 is available at connect.apple.com (Part 2b)
  • Previous by thread: Re: Xcode 3.1: How to delete caches via CLI?
  • Next by thread: Re: Xcode 3.1: How to delete caches via CLI?
  • Index(es):
    • Date
    • Thread