Alex Rivera | Logout

How do I create an iPhone framework and use it in other iPhone applications

Asked 2009-06-17T02:33:59.770
12

I would like to create a framework for some reusable code that I would like to include in other iPhone apps. What is the best way to do it? Ideally, I would like it to work just like builtin frameworks and have the app use it without mucking around with build files.

Edit
Report

1 Answer

5

I've created templates for Xcode 4 that allow you to build universal iOS frameworks (which work in both device and simulator).

Once the templates are installed, you simply select "Static iOS Framework" when creating a new project and it does the rest. It also works with unit tests.

https://github.com/kstenerud/iOS-Universal-Framework

answered 2011-04-05T18:19:30.447

Your Answer