问题
I need to create a dylib using XCode for my client. The dylib will have only two function start, and stop. The people i m making this for use mono and they will call this dylib. How can I create this? Thanks.
回答1:
Xcode has project templates for Cocoa, C++ and C dynamic libraries. Just create one of these and add you functions to it.
来源:https://stackoverflow.com/questions/6408725/mac-creating-simple-dylib