I have an Xcode static library project, how do I add a test target to it so I can run it there? (Ins
Posted
by zekel
on Stack Overflow
See other posts from Stack Overflow
or by zekel
Published on 2010-06-10T19:30:10Z
Indexed on
2010/06/10
19:32 UTC
Read the original article
Hit count: 176
I want to be able to test library code in the library target so I don't have to switch over to a separate project to run it.
I see how to add a target, but I'm not sure how to set it up to run like the "Command Line Tool" project template does. I tried adding a new "Shell Tool" target, but I don't know how to make it run like one. What build settings do I have to add to that target? What files (main.m?) do I need to start it up?
© Stack Overflow or respective owner