Something has happened to my XCode 5 system ... at some point in the past 24 hours, I've started getting link errors like this when I create Archive builds (note that normal, debug builds are fine!):
Undefined symbols for architecture x86_64: "non-virtual thunk to juce::MenuBarModel::applicationCommandInvoked(juce::ApplicationCommandTarget::InvocationInfo const&)", referenced from: vtable for ContentComp in myfile.o
I haven't a clue what has caused this - not nice! It was working fine yesterday!
Wondering if somehow related to http://stackoverflow.com/questions/18387333/xcode-custom-framework-strange-partial-linker-error ...?
I'm still on Xcode 4, but in my experience, "non-virtual thunk" errors usually mean you've mis-matched something. If a clean rebuild doesn't help, it could be that the same header is included in multiple cpp files with different settings that cause it to be parsed differently?