Remove source code from Static Library XCode 4

how can i remove the source code from my static library with XCode 4? When i have Xcode 3 in target there is the list of source and i can delete them, but with XCode 4 the target is not expandable...

Can i do olso with some libtool?



Not sure to understand what you mean, but if you want to remove symbols from a binary/library, you should use the strip command.

A static library is not source code, it's machine code. You can't have access to the source files, if you only have a static library.

Otherwise, if you meant "target" instead of library, meaning you are actually building a library with Xcode, and you want that specific source files don't compile into the library, use the "Target membership" section on the Xcode right panel (utilities).

When you select the file, you can set the target for the source file:

I'm assuming that you have the library sources added to the project and you want to remove them from a specific target. Select the project (the top level item on the left side), select the target under "Targets", click "Build Phases" and remove the respective items from "Compile Sources".

Need Your Help

how can I design a RAII file descriptor without creating a new int

c++ c++11 file-descriptor raii

I want to create a RAII wrapper around a file descriptor. As the object might be passed around threads, it really is a shared resource: this is why I made a first implementation by using a shared_ptr

Is it good to share jars for multiple grails applications in jboss 7?

grails deployment jboss

In our organization we have like 20 grails apps (from 1.3.6 to 2.2.4) each deployed in an independent jboss server, but sometimes it feels like overkill because our user count is not really big (10...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.