Undefined symbols for architecture x86_64: referenced from: () in code example
Example: Undefined symbols for architecture x86_64:
Is there an undefined function?
This linker error message suggests that the source file defining it is
not marked as being part of your app target.
Make sure you have compiled the file or that it is included in your
makefile.