• 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: (no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)


  • Subject: Re: (no subject)
  • From: "sharad saxena" <email@hidden>
  • Date: Fri, 12 May 2006 09:18:19 +0530

Method-
1. Explore Targets
2. Right click on the app you want to embed framework into
3. Add-> New Build Phase -> New copy files build phase
4. On the dialog that pops up Choose Destination: as Frameworks (Leave the path blank)
5. Close the dialog this will leave a Copy Files rule in the Targets->application
6. Drag and drop the required framework into this newly created Copy Files rule and Build.
Result-
The framework should get copied into *.app/Contents/Frameworks
 
Sharad!
 
On 5/12/06, Aurélien Ammeloot <email@hidden> wrote:
Hi,

I'm a French student in development, and I am working on a project
(remaking a classic video game) using an unusual mix of components on
my Mac (PPC/Tiger) such as XCode, the Allegro open source graphic
library (http://alleg.sourceforge.net), C++ and an application
template using the Cocoa framework (used only to instantiate a Window
at app launch) and the allegro Framework (located /Library/Frameworks/
Allegro.framework), which is linked to the project. The built result
is a .app bundle.

In order to make my project work on another computer, on which the
Allegro API (and framework) is not installed, I need to embed the
Allegro framework inside the .app. The problem is I can't find any
help in Allegro's documentation, in XCode documentation and on the
web, I can find information about how to embed a self-made framework
into a .app, but not how to provide a copy of a framework installed
in the /Library/Frameworks directory.

The framework is visible in the left-side frame of the XCode GUI, in
the Frameworks group, with a lock drawn on the icon. I cannot find
the option to embed it into my built project.

I would be grateful if anyone could provide me a useful hint or link
to some documentation.
Thanks,
Aurélien _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: email@hidden

 _______________________________________________
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

  • Follow-Ups:
    • Re: (no subject)
      • From: Aurélien Ammeloot <email@hidden>
References: 
 >(no subject) (From: Aurélien Ammeloot <email@hidden>)

  • Prev by Date: (no subject)
  • Next by Date: Miscellaneous XCode Questions
  • Previous by thread: (no subject)
  • Next by thread: Re: (no subject)
  • Index(es):
    • Date
    • Thread