Re: Xcode 3.1: How to delete caches via CLI?
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