| Computers Forum Index » Computer Languages (Objective-C) » convert dylib into framework... |
|
Page 1 of 1 |
|
| 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? |
|
|
| Back to top |
|
|
|
| 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 |
|
|
| Back to top |
|
|
|
| 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__ |
|
|
| Back to top |
|
|
|
| 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. |
|
|
| Back to top |
|
|
|
| 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-- |
|
|
| Back to top |
|
|
|
|