I have a main project, which includes a nested library project which produces a libCore.a library.
Both of the projects have the two configurations debug and release. Now if I build the main project with a given configuration, how can I make sure that this is passed down to the library project as well?
Make your project directly dependent on the
libCoreproject. Do achieve this, do the following:libCoreproject file to your main project. It happens sometimes, that only the xcodeproj file is moved. If this happens to you, restart XCode (this happend to me with RestKit and the latest XCode).libCoreas the target dependencies.libCore.aby adding in the Link Binary with Libraries phase.These are 3 basic steps, I don’t know what the
libCoreis, if it needs to be linked with any other libraries then you will also have to link your target against those libraries.