How do I set compiler flags?

When the linker misses a symbol I do not see the name of the symbol. It says to set the -v flag for clang to see the name.

I use Xcode 10.1.


Thanks in advance!

--

Perry

Accepted Reply

Thanks, the -v flag did not help, but you lead me to the log output, and there it stated the needed info. Big time happy me.

Replies

Click on your poject file go to build settings and then there should be a section called "Apple Clang -Custom Compiler Flags"
Where you can add your "-v". Here to note that i suspect you got that from the Issue Navigator and not from the log it self as normally
it shows you the symbol that is missing.

Thanks, the -v flag did not help, but you lead me to the log output, and there it stated the needed info. Big time happy me.

So, by the etiquette of this forum, you should have marked platin21 as the correct answer, as it lead you to the solution. That would be fair and normal acknowlegment or the support.