I have created a large framework which I intend to use in several apps that I will be creating, however I cannot figure out how to create and import a static library. I have been following this tutorial, as it seems to be most up to date I can find
http://www.icodeblog.com/2011/04/07/creating-static-libraries-for-ios/
The tutorial says after creating the static library, and copying the .a file into the folder along with the .h files;
Now, just drag this folder into the project and Xcode will set up
all of the linking automagically.
However, when I copy that folder across into xCode, the folder is blue, and I cannot import any of the files
I then tried this tutorial
http://www.blog.montgomerie.net/easy-xcode-static-library-subprojects-and-submodules
I managed to get it to import the sample project like this
#import <SampleSubproject/SampleSubproject.h>
But I can't import the any of the other files in the library.
I have been at this hours, and I cannot seem to find a simple concise tutorial that explains how to actually add a static library properly, there seems to be so many different ways of doing it. Could someone please show me the easiest way to go about doing this.
Also I have heard that static libraries don't compile in the iOS simulator, is this true?
Thanks in advance