If you are creating a static library for iOS, do you need to distribute header files with it, or is there another way to make it work?
Currently, I have one my_lib.a file for the device and the simulator, but when I drag it to another test application to use it, it says that it cannot find the header and that all the places where I use it, the code not announced. Therefore, I believe that I am either doing something wrong, or I also need to send the appropriate header files.
History of my process:
I saw two guides for creating a static library for the device and the simulator. One on this site: Create a live static library (device + simulator) using Xcode and SDK 4+
and one here: http://mark.aufflick.com/blog/2010/11/19/making-a-fat-static-library-for-ios-device-and-simulator
I used the second site to just try it out. I am also a little curious if I did this right. I just went into the Release-iphone folders (os | simulator) and found .a in ios one and .o in the simulator.
ios static objective-c static-libraries
Aaron
source share