• 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: "Best" ways to install frameworks?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Best" ways to install frameworks?


  • Subject: Re: "Best" ways to install frameworks?
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 21 Nov 2007 08:18:37 -0700


On Nov 21, 2007, at 7:39 AM, Rick Hoge wrote:

1) the default install path specified for framework target seems to be /Library/Frameworks/. However as far as I can tell, none of the framework templates in Xcode includes a build phase to actually copy the framework into this location. I know this is easy to do using a "copy files" build phase, but why don't any of the templates include this? I suppose it could be that, for actually shipping an app, your installer would do this since the ultimate objective is not to run the app out of Xcode (also it's probably good that by default Xcode never modifies anything outside of the project). Is there any other reason why the templates don't actually install the framework?

None that I know of. You could always try using symbolic links, though.

2) an app we currently distribute has it's frameworks located inside the app bundle, making the app drag-and-drop installable and relocatable. If we want to make some of the frameworks available to 3d party developers, the frameworks should probably be in /Library/ Frameworks/. Do I have to choose one or the other? I am wondering what strategies work well for allowing both flexible installation and exposure of frameworks to developers. Having two sets of the framework seems like it could lead to confusion or problems.


You can put embeddable frameworks in /Library/Frameworks with no problems. If "DLL Hell" is your concern, then if you make any major API changes in a new version of your framework, then you can use the seldom-used framework versioning system provided by Xcode.

Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request




_______________________________________________ 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: 
 >"Best" ways to install frameworks? (From: Rick Hoge <email@hidden>)

  • Prev by Date: "Best" ways to install frameworks?
  • Next by Date: Re: Problem loading IB plugin [solved]
  • Previous by thread: "Best" ways to install frameworks?
  • Next by thread: Re: "Best" ways to install frameworks?
  • Index(es):
    • Date
    • Thread