Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
苹果似乎没有给出如何建立项目的说明
http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/CreatingDynamicLibraries.html#//apple_ref/doc/uid/TP40002073-SW19
在 xcode 3 上似乎很容易做到,只需从框架和库中选择“BSD C 库”,但在 Xcode 4 中没有这样做的选项。
选择 C/C++ 库项目模板,它位于 Xcode 4 中的框架和库下。单击下一步按钮。从“类型”菜单中选择“动态”以创建动态库。