This is ridiculous, im trying to create a sound bool to turn of in app sounds. I keep getting
Undefined symbols for architecture i386:
\"_kPlaySoundPrefsKey\",
I am also got the same error even if I am properly declared and define the extern const string , The problem is, my constant file not in the compile source list .
Make sure that your .m file appears in the "Compile Sources" Build Phase for your build target. Sometimes, adding files to a project in Xcode doesn't add all implementation files to the appropriate targets.
Hope this will helpful for some people. Refe: linker-error-undefined-symbols-symbols-not-found