What if you’ve got it all figured out.
You’ve created a framework which you can reuse any time you are going to develop an iOS App.
But you can’t build a framework package…
Bummer, now you’ll need to copy paste the code every time to the new project.
Now you’ve found a bug within you framework, and the framework already is being used within numerous apps… Are you going to copy-paste the improved code and rebuild your apps ?
perhaps the following solution is an option:
1) Declare a folder on your drive ( /Framework )
2) Copy your code / classes and nib files there (with folder structure if you like)
3) Within XCode, right click on the Classes folder
4) Select “Add -> Existing Files…”
5) Browse to your folder, which you’ve created on the first step (do not enter the folder, just select the folder)
6) In the bottom right click Add
7) Make sure that “Copy items into destination group’s folder” is NOT CHECKED / NOT SELECTED or what so ever (leave the checkbox blank!)
8) Reference Type: Default
9) Recursively create groups for any added folder must be ticked ( radiobox )
10) Select the targets
11) Click Add.
Congratulations you’ve just added your reusable code to your project.
If you change anything inside your “framework” you now have this change within every app project you’ve created.
Only thing you have to do is rebuild the app and place the updated version within the app store.
This solution was provided by Mike Lee