Re: including library in .app
Re: including library in .app
- Subject: Re: including library in .app
- From: Pete Carss <email@hidden>
- Date: Sat, 1 Feb 2003 17:33:16 +0000
Its still not working for me...
I've got my project to create the Framework directory, and copy
libxml.framework into that directory. I also have the framework sitting
in the Frameworks/linked Frameworks group in PB. what setting do you
have in the frameworks are for the search paths settings box?
my project won't compile now, it groks on the first mention of any
header to do with the framework. I suspect the search paths setting, as
I can make it compile fine by adding a full path to a copy of
libxml.framework. If I run a successfully compiled version as a
different user it doesn't launch...
I've taken to putting my frameworks in ~/Library/Frameworks, so that I
can log in as another user to check that my app still runs - which it
doesn't at the moment - does anybody know of a way of opening an app as
another user without having to log out/ then in as that user...
Pete
On Saturday, Feb 1, 2003, at 09:22 Europe/London, Tito Ciuro wrote:
On Saturday, February 1, 2003, at 03:47 AM, Timothy Ritchey wrote:
I am using the libxml.framework in a cocoa project
I put the libxml.framework directory in a sub directory of my project
called Frameworks, and added it to the project using the project->add
framework... menu command, and make sure it is checked.
Then, I added a copy files build phase right before the Frameworks &
Libraries phase with the following settings:
Where: Frameworks
Subpath: empty
Copy only when installing: not checked
Files: Frameworks/libxml.framework
Not sure if this helps or not, but it IS possible :)
Indeed it is :)
The problem is in Apple's documentation:
http://developer.apple.com/techpubs/macosx/DeveloperTools/
ProjectBuilder/ProjectBuilder.help/Contents/Resources/English.lproj/
Frameworks/Embedding_a_Application.html
If you look at section Copy the Framework Into the Application, step #4
states:
Choose Frameworks from the Where pop-up menu, select the Copy only
when installing option, and drag the framework to the Files field.
This is a mistake. The checkbox has to be deselected, not selected.
Everything is fine after that :)
Thanks a lot everybody! :)
-- Tito
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.