I am engaged on a venture in Xcode and I’ve had these bizarre undefined symbols points:
Undefined symbols for structure x86_64:
"_gPrimitives", referenced from:
_krw_init in kfd.o
_krw_deinit in kfd.o
"_gSystemInfo", referenced from:
_krw_init in kfd.o
ld: image(s) not discovered for structure x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined image: _gPrimitives
Undefined image: _gSystemInfo
I’ve regarded on related posts on why this might be the case however not one of the options have appeared to assist me.
I attempted including totally different frameworks to my .xcodeproj (since I believed it might be a library problem) however none of them made a distinction. The one framework I at the moment have is a IOKit.framework which defines IOService symbols – eradicating that clearly brings extra undefined image points.
If anybody may give some perception that will be appreciated.