• 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: Webobjects framework how to
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Webobjects framework how to
      • From: Art Isbell <email@hidden>
References: 
 >Webobjects framework how to (From: ".::welemski::." <email@hidden>)
 >Re: Webobjects framework how to (From: Chuck Hill <email@hidden>)
 >Re: Webobjects framework how to (From: Dev WO <email@hidden>)

  • Prev by Date: Re: JavaScript by any other name is "AJAX"?
  • Next by Date: Re: Webobjects framework how to
  • Previous by thread: Re: Webobjects framework how to
  • Next by thread: Re: Webobjects framework how to
  • Index(es):
    • Date
    • Thread