hackintosh-stuff / ComboJack

Hackintosh combojack support for alc256/alc255.
175 stars 70 forks source link

Latest commit does not compile #5

Open the-darkvoid opened 5 years ago

the-darkvoid commented 5 years ago

The latest committed version does not compile properly on XCode 10.1 (MacOS Mojave).

906:23: error: use of undeclared identifier 'NSJSONSerialization'
id l10nObj = [NSJSONSerialization`

Resolving this error results in a linking error

Undefined symbols for architecture x86_64:
"_IOAllowPowerChange", referenced from:
  _SleepWakeCallBack in hda-verb.o
"_IOConnectCallScalarMethod", referenced from:
  _VerbCommand in hda-verb.o
 "_IODeregisterForSystemPower", referenced from:
  _CloseServiceConnection in hda-verb.o
  _main in hda-verb.o

Appreciate it if the git repo issues can be resolved to allow successful compilation using either build.sh or XCode GUI.

maz-1 commented 5 years ago

XCode 10.1 (MacOS Mojave) as well, no such problem Weired, seems that executable is not linked against IOKit? Try adding IOKit.framework to link list explicitly?

the-darkvoid commented 5 years ago

I've looked at the code, and the commited XCode project file has no frameworks specified to link against: https://github.com/hackintosh-stuff/ComboJack/blob/e6295a938cd242c93818f40437620778b8409622/ComboJack_Source/ComboJack.xcodeproj/project.pbxproj#L73

It just looks like the commit isn't complete, can you please double check the commit and project files as in the git repo?