Is it possible to compile multiple objective C (.m) files into one .a libra开发者_JAVA技巧ry? The resulting code would be used in iPhone apps via XCode.
If yes, do you have any links to a tutorial, or can you paste a Makefile?
You do not need a tutorial. Just start a new project, select iOS / Framework & Library / Cocoa Touch Static Library and start adding a files. That is it. Compiled lib will have all the files in place. Provide headers to consumers for all included files so they will know what's inside. It is pretty simple, let me know if you need an additional clarification.
精彩评论