Tattat
Tattat

Reputation: 15778

How to build my own library in XCode?

If I created some libraries that I want to 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.

Upvotes: 1

Views: 413

Answers (1)

Georg Fritzsche
Georg Fritzsche

Reputation: 98964

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.

Upvotes: 1

Related Questions