Mac OS Build Issues on OSX EI Cpitan 10.11.6

Hi I have an interesting issue with building Audacity on Mac OS in Xcode 8.2 as I can not run 8.1 on this Mac
I followed fully the build instructions for building from source code and I have the following problem with the build
When I build for debug release the build works ok runs ok no problems no errors
When I build for any type of Release 64 or other the following error at the end of the build comes up


“CommandManager::Options::~Options()”, referenced from:

__GLOBAL__sub_I_FreqWindow.cpp in FreqWindow.o

__GLOBAL__sub_I_HistoryWindow.cpp in HistoryWindow.o

(anonymous namespace)::HelpMenu() in HelpMenus.o

__GLOBAL__sub_I_LyricsWindow.cpp in LyricsWindow.o

__GLOBAL__sub_I_MixerBoard.cpp in MixerBoard.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have looked over the code and can not understand or relate to the issues in any way and what is most surprising is why
this error for a release build and not a debug I also have now built against two source code builds the master 2.3.3 and now 2.4
I am happy to do debug builds for know however I do believe this issue needs to be looked into
I would appreciate your help on the matter thanks

Xcode is very fussy about version numbers.

The Audacity developers try to retain support for older versions of macOS for as long as possible. This requires using the exactly correct SDK version, in a version of xcode that will work with that SDK. Using the wrong version of xcode, or the wrong SDK will result in a failed build, and the error messages are often unhelpful / misleading.

Since Apple released Catalina, the versions of xcode / SDK that Audacity used previously, will no longer work correctly.

Which version of Audacity are you trying to build?
Which version of macOS are you using?