Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Latest commit does not compile #5

Open
the-darkvoid opened this issue Mar 5, 2019 · 2 comments
Open

Latest commit does not compile #5

the-darkvoid opened this issue Mar 5, 2019 · 2 comments

Comments

@the-darkvoid
Copy link
Contributor

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
Copy link
Member

maz-1 commented Mar 6, 2019

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
Copy link
Contributor Author

I've looked at the code, and the commited XCode project file has no frameworks specified to link against:

CB3D58401F0A7DE000F741BA /* Frameworks */,

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants