If I created some libraries that I want 开发者_如何学JAVAto give others, but I don't want to share the source code to them (I don't want to give the .h, .m). How can I pack my code to others in XCode? thz.
If you use Xcodes Cocoa Framework template, you don't have to do much - the basic framework already gets generated for you in build/Mode/
.
The Framework Programming Guide should get you going and includes sections on exports and installation.
Note: Don't forget to set a reasonable version for the Base SDK.
精彩评论