Are you using Projucer to create the Xcode project? That linker error usually means that either _DEBUG
is not defined when building a Debug configuration, or that NDEBUG
is not defined when building a Release configuration. Projucer does that for you, but if you are not using it, you need to do a bit of manual work.