Re: Webobjects framework how to
Re: Webobjects framework how to
- Subject: Re: Webobjects framework how to
- From: Chuck Hill <email@hidden>
- Date: Wed, 29 Mar 2006 11:15:53 -0800
What I have done in the past is to create a new Aggregate Target,
aggregating the <Framework Name> target and add a Shell Script build
phase to it:
----
#! /bin/sh
if [[ -d $LOCAL_LIBRARY_DIR/Frameworks/$PROJECT_NAME.framework ]] ; then
echo Removing old $LOCAL_LIBRARY_DIR/Frameworks/
$PROJECT_NAME.framework
rm -r $LOCAL_LIBRARY_DIR/Frameworks/$PROJECT_NAME.framework
fi
echo Copying $BUILT_PRODUCTS_DIR/$PROJECT_NAME.framework to
$LOCAL_LIBRARY_DIR/Frameworks
cp -R $BUILT_PRODUCTS_DIR/$PROJECT_NAME.framework $LOCAL_LIBRARY_DIR/
Frameworks
-----
But, writing this, I realized that I don't do this any more. You can
just change some settings in Xcode:
From the Project menu, select Edit Project Settings and select the
Build tab\
change the Collection from All Settings to Deployment
There are three settings that need to be changed, Deployment
Location, Deployment Postprocessing, and Installation Build Products
Location.
The first two simply need to be checked.
The last is set to “/” which tells Xcode to install in the default /
Library/Frameworks location.
That is all that needs to be done. Xcode will now install the
framework whenever it builds successfully.
Chuck
On Mar 29, 2006, at 11:04 AM, Dev WO wrote:
Hi Chuck,
4.... I just added a script phase to Xcode to install at the end
of each build. I can post it if you want it
Yes please;)
Xavier
--
Coming in 2006 - an introduction to web applications using WebObjects
and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden