mondousage
mondousage

Reputation: 483

Xcode4 Create Static Library from Existing Project

Having trouble creating a static library in XCode4. I have been following this helpful tutorial:

But I keep running into the same problem. How do you create a library from an existing project? I'm having difficulty building the project (not running) because it seems to run into compiler errors within the code I just imported.

How do I set up an existing project for importing into a Cocoa Touch Static Library project?

Upvotes: 1

Views: 2351

Answers (1)

muthukumar
muthukumar

Reputation: 649

Select
Target-> Build Settings
In the Linking Section Change the Mach-O Type to Static Library

enter image description here

You Can Try this for making your static library usage smart

Upvotes: 3

Related Questions