As I'm sure you're aware it's common to include both debug and release builds of libraries in their SDKs. My question is whether there exists a standard way of going about this for a Mac OS X framework in terms of distribution and possibly Xcode integration?
One option is to ship a second entirely separate framework, e.g. MyLibrary.framework
and MyLibraryDebug.framework
. If this is the correct way to go about it, is there some trick to telling Xcode to use the right one? When adding a framework to an Xcode project it didn't seem to have the option of only adding it to a single build configuration, and it seems kludgy to have to resort to putting the correct -framework MyLibrary[Debug]
command line option in manually for the respective configurations!
Thanks.