Hello guys, I am trying to create a static library in Xcode using C++ ( All my files are .h or .cpp ).
I tried deleting main.cpp and then adding a target to my project to build a "Static" library. Since I'm not using Cocoa, I assumed that I needed to add a BSD Static Library, but I have tried other static library options with no apparent results. It doesn't build ( doesn't show any errors though, but it's like nothing happened).
In the following picture "Untitled" is my static library.
( as you can see libUntitled.a is red, even after I built the project. )