Reputation: 31652
If I have a "Command Line Tool" project in Xcode, and just want to build a "C/C++ Library", can I convert my existing project without deleting the project file and starting from scratch? (I want to maintain all my groups / organization / settings / etc).
Thanks.
Upvotes: 3
Views: 1880
Reputation: 31652
For anyone wondering the same thing I was, here's the solution:
My first problem was forgetting/not realizing that "projects" and "targets" are two different things in Xcode. In the Microsoft world, "projects" have "type"s (Class Library / Application / etc). Not so in Xcode.
So, if you want to build a Static Library, the solution is simple; just add a "Static Library" target:
Upvotes: 4