Main Page | Report this Page
Computers Forum Index  »  Computer Languages (Objective-C)  »  convert dylib into framework...
Page 1 of 1    

convert dylib into framework...

Author Message
Joe...
Posted: Fri Oct 30, 2009 11:43 pm
Guest
I've got an xcode project which is a dynamic library. From what I
currently understand, I need to make it into a framework so that I can
add it to another xcode project which is an application (and so that my
app will be able to find and link to it easily).

Problem is, I'm not sure how to convert this dylib project into a
framework. Anyone offer some advice on how to do that?
 
hns at (no spam) computer.org...
Posted: Fri Oct 30, 2009 11:43 pm
Guest
On 30 Okt., 20:43, Joe <inva... at (no spam) email.account> wrote:
Quote:
I've got an xcode project which is a dynamic library. From what I
currently understand, I need to make it into a framework so that I can
add it to another xcode project which is an application (and so that my
app will be able to find and link to it easily).

Problem is, I'm not sure how to convert this dylib project into a
framework. Anyone offer some advice on how to do that?

Although it has not much to do with Objective-C,
please take a look at /System/Library/Frameworks/System.framework for
an example.
You can also symlink the Headers if needed/available.

-- hns
 
Pascal J. Bourguignon...
Posted: Sat Oct 31, 2009 3:18 am
Guest
Joe <invalid at (no spam) email.account> writes:

Quote:
I've got an xcode project which is a dynamic library. From what I
currently understand, I need to make it into a framework so that I can
add it to another xcode project which is an application (and so that
my app will be able to find and link to it easily).

Problem is, I'm not sure how to convert this dylib project into a
framework. Anyone offer some advice on how to do that?

It is not necessary to convert your library in a framework. You can
drag headers and .dylibs directly into the project, that works too.
(However it might still be a good idea to have a separately
installable framework).

--
__Pascal Bourguignon__
 
Stefan Arentz...
Posted: Sat Oct 31, 2009 5:49 pm
Guest
Joe <invalid at (no spam) email.account> writes:

Quote:
I've got an xcode project which is a dynamic library. From what I
currently understand, I need to make it into a framework so that I can
add it to another xcode project which is an application (and so that
my app will be able to find and link to it easily).

Problem is, I'm not sure how to convert this dylib project into a
framework. Anyone offer some advice on how to do that?

In my experience it is usually much better to simply drag the source
of that library directly into the application's xcode project.

Frameworks and libraries are nice but in many cases you don't actually
need them.

S.
 
Sherm Pendley...
Posted: Sat Oct 31, 2009 6:58 pm
Guest
Joe <invalid at (no spam) email.account> writes:

Quote:
I've got an xcode project which is a dynamic library. From what I
currently understand, I need to make it into a framework so that I can
add it to another xcode project which is an application (and so that
my app will be able to find and link to it easily).

Problem is, I'm not sure how to convert this dylib project into a
framework. Anyone offer some advice on how to do that?

Create a new framework target within the existing project, add your
source code, headers, and any resources you want to bundle with it to
that target, and Bob's your uncle. :-)

sherm--
 
 
Page 1 of 1    
All times are GMT
The time now is Wed Dec 02, 2009 4:36 am