I have 3 apps written in Obj-C that I want to modify and convert to libraries, so I can use them in a Monotouch app.
Where do I find docs that tell me how to take Obj-C code and turn it into libraries?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Imagine you have a file called
lib1.mYou will first have to compile it as object code. For instance:
That will create
lib1.oThen you’ll have to decide wether you want a static or dynamic library.
To build a static library, you’ll need a library object first:
Then you can create the static library from the library archive:
To build a dynamic library:
Note that for dynamic libraries, you must provide the install path when creating the library.