I recently was playing around with something in Xcode using a project created using the OS X Command Line Tool. I am fairly new when it comes to objective-C (will move to Swift soon) and was playing around with mathematical constants. An example of a very simple piece of code would be:
NSLog(@"\u03c0 is %f", M_PI);
Output --> π is 3.141593
I wanted to view the definition for M_PI in the math.h file. But when I command-click on the contant M_PI in the code, I get a small error box that pops up with a question mark and test above it stating, "Symbol Not Found".
I have searched far and wide for a solution. One such solution, seemed promising, telling me to navigate to Xcode/preferences/locations and navigate to the derived data and delete its contents. This was unseccessful. I am out of ideas and really hope someone might be able to assist me! Thanks in advance.