How can I release a library for my XCODE project? I have a project which I wanted to expose to others as a library.
Share
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.
You must make a Cocoa Touch Static Library That contains all of the header and implementation files that you want to ship, and then use a script similar to the following:
This, in a nutshell, creates a folder that contains a library (libmyLib.a) and a folder of headers (usr) that must be added into the target project, the headers by Add->Existing Files and the Library by Add->Existing Framework->Add Other.
Also note that the role of the headers in your library must be public, or they will not copy, and that you must replace instances of
libmyLib.awith the name of your library.I have used this process many times, and it is the best you can get to making a framework for the iOS at this time, sadly.