I’ve now deployed iPhone static libraries in two (live) applications, and numerous updates.
This is a process that is seemingly (*) 90% undocumented by Apple, despite being (IMHO) absolutely essential for any professional iPhone developer.
UPDATE: Apple changed everything (again) without telling developers (again) and broke everything (again).
Current versions of Xcode (the minimum that Apple allows you to use) will *not* work with the architecture-link part of this blog post.
Instead, see this StackOverflow question I asked (and answered) with an updated technique: http://stackoverflow.com/questions/3520977/build-fat-static-library-device-simulator-using-xcode-and-sdk-4
[(*) – if there’s docs, then I’ve not found it in over 6 months of googling, searching Xcode doc libraries, and asking everyone I know. I will feel stupid if it’s there and I haven’t found it, but I have honestly tried very hard to find it!]
I have sought help in numerous expert forums and mailing lists – and generally discovered that no-one else is quite sure how to do it either, although I’ve seen some funky ideas and methods that others have come up with.
Through trial and error I’m pretty sure I know how to do it now – but I still have no idea what the “correct” approach is – so I’m writing up my best knowledge here, and I’m going to spread it to as many people as possible to get feedback from the 30,000+ other iPhone developers around the world.