How do I start a new Obj-C library project with Xcode?

I am new to Xcode (and Objective C in general) and I want to create a new Objective-C Library (Framework?) which will be used by some of our iPhone applications in the future.

Which type of project should I choose when Xcode shows the new project dialog? I tried selecting "Blank Project" but then I faced some issues in defining the target, dependencies, etc.

I want my project to be easily re-usable in the future both in code form and as a .dylib.

I would appreciate some help with this. Links to online docs are welcome.

Answers


Since version 3 of the SDK you are able to create library projects in Xcode. However, those projects do not create .dylib libraries, but static .a libraries.

You cannot create Frameworks for iOS, as Apple's own App Store rules state that apps sold through the App Store cannot load code dynamically, which is what Frameworks are for. Libraries are designed to be statically linked.


Need Your Help

Front page Featured Section

drupal drupal-6

I have a website where users register their projects for a certain event. I'd like to highlight certain projects on certain days on the front page.

How to not make text colored within a href link but the text is also within div?

html css html5 css3 colors

How can I make text NOT blue colored when I make entire div as a link?