Contribute
Register

Ask RehabMan FakeSMC Question

Status
Not open for further replies.
I'm currently building with Xcode 8.3.3 or Xcode 9.1.
The set of legacy SDKs you have in /Applications/LegacySDKs will depend on which version of Xcode you're using (eg. which SDKs not present natively).
To find your build products more easily, change Xcode->Preferences->Locations->Advanced->Custom "Relative to Workspace".

Gorgeous! Now Xcode and the "makefile" properly do their job:

Screen Shot 2017-11-28 at 08.58.30.png


Nevertheless the FakeSMC.kext compiled from your Source still prevents my X299 System from boot,

IMG_9294.JPG

whereas the FakeSMC.kext of your 171017 kext distribution (RehabMan-FakeSMC-2017-1017.zip) just works flawless... I once more attach both kexts below.

What else can I do?
 

Attachments

  • FakeSMC-compiled-from-source.kext.zip
    33.3 KB · Views: 71
  • FakeSMC-working-171017.kext.zip
    35.5 KB · Views: 74
Gorgeous! Now Xcode and the "makefile" properly do their job:

View attachment 295355

Nevertheless the FakeSMC.kext compiled from your Source still prevents my X299 System from boot,

View attachment 295357

whereas the FakeSMC.kext of your 171017 kext distribution (RehabMan-FakeSMC-2017-1017.zip) just works flawless... I once more attach both kexts below.

What else can I do?

If you look at the Info.plist differences, you can see there is some sort of build configuration problem.
Look at CFBundleShortVersionString.
Also, note that I'm using Xcode 8.3.3.
 
I'm currently building with Xcode 8.3.3 or Xcode 9.1.

If you look at the Info.plist differences, you can see there is some sort of build configuration problem.
Look at CFBundleShortVersionString.
Also, note that I'm using Xcode 8.3.3.

I realised the difference in the CFBundleShortVersionString from the very beginning. A simple "Get Info" request already reveals the difference! But I though it was an error in the source and not due to an error caused by the compilation.

Code:
Last project revision: -
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
New project version: HWSENSORS_VERSION .
New project revision:

Code:
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/GPUSensors/RadeonSensors/RadeonSensors.cpp:337:14: warning:
      declaration shadows a local variable [-Wshadow]
        char key[5];
             ^
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/GPUSensors/RadeonSensors/RadeonSensors.cpp:334:10: note:
      previous declaration is here
    char key[5];
         ^
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/GPUSensors/RadeonSensors/RadeonSensors.cpp:334:10: warning:
      unused variable 'key' [-Wunused-variable]
    char key[5];
         ^
2 warnings generated.

Code:
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: warning:
      parameter 'notifDict' not found in the function declaration
      [-Wdocumentation]
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: note:
      did you mean 'regDict'?
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
                regDict
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:517:5: warning:
      declaration is marked with '\deprecated' command but does not have a
      deprecation attribute [-Wdocumentation-deprecated-sync]
*      @deprecated In version 1.1, in favor of {{{-applicationIconForGrowl}}}.
        ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.

Code:
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: warning:
      parameter 'notifDict' not found in the function declaration
      [-Wdocumentation]
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: note:
      did you mean 'regDict'?
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
                regDict
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:517:5: warning:
      declaration is marked with '\deprecated' command but does not have a
      deprecation attribute [-Wdocumentation-deprecated-sync]
*      @deprecated In version 1.1, in favor of {{{-applicationIconForGrowl}}}.
        ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.

Code:
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: warning:
      parameter 'notifDict' not found in the function declaration
      [-Wdocumentation]
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: note:
      did you mean 'regDict'?
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
                regDict
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:517:5: warning:
      declaration is marked with '\deprecated' command but does not have a
      deprecation attribute [-Wdocumentation-deprecated-sync]
*      @deprecated In version 1.1, in favor of {{{-applicationIconForGrowl}}}.
        ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.

Code:
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: warning:
      parameter 'notifDict' not found in the function declaration
      [-Wdocumentation]
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: note:
      did you mean 'regDict'?
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
                regDict
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:517:5: warning:
      declaration is marked with '\deprecated' command but does not have a
      deprecation attribute [-Wdocumentation-deprecated-sync]
*      @deprecated In version 1.1, in favor of {{{-applicationIconForGrowl}}}.
        ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.

Code:
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: warning:
      parameter 'notifDict' not found in the function declaration
      [-Wdocumentation]
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: note:
      did you mean 'regDict'?
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
                regDict
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:517:5: warning:
      declaration is marked with '\deprecated' command but does not have a
      deprecation attribute [-Wdocumentation-deprecated-sync]
*      @deprecated In version 1.1, in favor of {{{-applicationIconForGrowl}}}.
        ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.

Code:
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: warning:
      parameter 'notifDict' not found in the function declaration
      [-Wdocumentation]
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: note:
      did you mean 'regDict'?
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
                regDict
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:517:5: warning:
      declaration is marked with '\deprecated' command but does not have a
      deprecation attribute [-Wdocumentation-deprecated-sync]
*      @deprecated In version 1.1, in favor of {{{-applicationIconForGrowl}}}.
        ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.

Code:
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:450:76: warning:
      undeclared selector 'windowDidAttachToStatusBar:' [-Wundeclared-selector]
  ...if (self.delegate != nil && [self.delegate respondsToSelector:@selector(...
                                                                    ^
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:451:49: warning:
      undeclared selector 'windowDidAttachToStatusBar:' [-Wundeclared-selector]
                [self.delegate performSelector:@selector(windowDidAttach...
                                                ^
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:459:76: warning:
      undeclared selector 'windowDidDetachFromStatusBar:'
      [-Wundeclared-selector]
  ...if (self.delegate != nil && [self.delegate respondsToSelector:@selector(...
                                                                    ^
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:460:49: warning:
      undeclared selector 'windowDidDetachFromStatusBar:'
      [-Wundeclared-selector]
                [self.delegate performSelector:@selector(windowDidDetach...
                                                ^
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:450:17: warning:
      weak property 'delegate' is accessed multiple times in this method but may
      be unpredictably set to nil; assign to a strong variable to keep the
      object alive [-Warc-repeated-use-of-weak]
            if (self.delegate != nil && [self.delegate respondsToSelecto...
                ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:450:42: note:
      also accessed here
            if (self.delegate != nil && [self.delegate respondsToSelecto...
                                         ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:451:18: note:
      also accessed here
                [self.delegate performSelector:@selector(windowDidAttach...
                 ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:459:17: note:
      also accessed here
            if (self.delegate != nil && [self.delegate respondsToSelecto...
                ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:459:42: note:
      also accessed here
            if (self.delegate != nil && [self.delegate respondsToSelecto...
                                         ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:460:18: note:
      also accessed here
                [self.delegate performSelector:@selector(windowDidDetach...
                 ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:574:9: warning:
      weak property 'delegate' is accessed multiple times in this method but may
      be unpredictably set to nil; assign to a strong variable to keep the
      object alive [-Warc-repeated-use-of-weak]
    if (self.delegate != nil && [self.delegate respondsToSelector:@selec...
        ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:574:34: note:
      also accessed here
    if (self.delegate != nil && [self.delegate respondsToSelector:@selec...
                                 ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:575:10: note:
      also accessed here
        [self.delegate performSelector:@selector(windowDidBecomeKey:)
         ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:589:9: warning:
      weak property 'delegate' is accessed multiple times in this method but may
      be unpredictably set to nil; assign to a strong variable to keep the
      object alive [-Warc-repeated-use-of-weak]
    if (self.delegate != nil && [self.delegate respondsToSelector:@selec...
        ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:589:34: note:
      also accessed here
    if (self.delegate != nil && [self.delegate respondsToSelector:@selec...
                                 ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:590:10: note:
      also accessed here
        [self.delegate performSelector:@selector(windowDidResignKey:)
         ^~~~~~~~~~~~~
7 warnings generated.

Code:
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: warning:
      parameter 'notifDict' not found in the function declaration
      [-Wdocumentation]
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: note:
      did you mean 'regDict'?
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
                regDict
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:517:5: warning:
      declaration is marked with '\deprecated' command but does not have a
      deprecation attribute [-Wdocumentation-deprecated-sync]
*      @deprecated In version 1.1, in favor of {{{-applicationIconForGrowl}}}.
        ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.

Code:
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: warning:
      parameter 'notifDict' not found in the function declaration
      [-Wdocumentation]
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: note:
      did you mean 'regDict'?
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
                regDict
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:517:5: warning:
      declaration is marked with '\deprecated' command but does not have a
      deprecation attribute [-Wdocumentation-deprecated-sync]
*      @deprecated In version 1.1, in favor of {{{-applicationIconForGrowl}}}.
        ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.

Code:
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: warning:
      parameter 'notifDict' not found in the function declaration
      [-Wdocumentation]
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: note:
      did you mean 'regDict'?
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
                regDict
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:517:5: warning:
      declaration is marked with '\deprecated' command but does not have a
      deprecation attribute [-Wdocumentation-deprecated-sync]
*      @deprecated In version 1.1, in favor of {{{-applicationIconForGrowl}}}.
        ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.

Code:
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: warning:
      parameter 'notifDict' not found in the function declaration
      [-Wdocumentation]
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: note:
      did you mean 'regDict'?
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
                regDict
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:517:5: warning:
      declaration is marked with '\deprecated' command but does not have a
      deprecation attribute [-Wdocumentation-deprecated-sync]
*      @deprecated In version 1.1, in favor of {{{-applicationIconForGrowl}}}.
        ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.

Code:
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: warning:
      parameter 'notifDict' not found in the function declaration
      [-Wdocumentation]
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:391:11: note:
      did you mean 'regDict'?
*      @param  notifDict       The dictionary to fill in.
                ^~~~~~~~~
                regDict
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/Growl.framework/Headers/GrowlApplicationBridge.h:517:5: warning:
      declaration is marked with '\deprecated' command but does not have a
      deprecation attribute [-Wdocumentation-deprecated-sync]
*      @deprecated In version 1.1, in favor of {{{-applicationIconForGrowl}}}.
        ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.

Code:
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:450:76: warning:
      undeclared selector 'windowDidAttachToStatusBar:' [-Wundeclared-selector]
  ...if (self.delegate != nil && [self.delegate respondsToSelector:@selector(...
                                                                    ^
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:451:49: warning:
      undeclared selector 'windowDidAttachToStatusBar:' [-Wundeclared-selector]
                [self.delegate performSelector:@selector(windowDidAttach...
                                                ^
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:459:76: warning:
      undeclared selector 'windowDidDetachFromStatusBar:'
      [-Wundeclared-selector]
  ...if (self.delegate != nil && [self.delegate respondsToSelector:@selector(...
                                                                    ^
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:460:49: warning:
      undeclared selector 'windowDidDetachFromStatusBar:'
      [-Wundeclared-selector]
                [self.delegate performSelector:@selector(windowDidDetach...
                                                ^
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:450:17: warning:
      weak property 'delegate' is accessed multiple times in this method but may
      be unpredictably set to nil; assign to a strong variable to keep the
      object alive [-Warc-repeated-use-of-weak]
            if (self.delegate != nil && [self.delegate respondsToSelecto...
                ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:450:42: note:
      also accessed here
            if (self.delegate != nil && [self.delegate respondsToSelecto...
                                         ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:451:18: note:
      also accessed here
                [self.delegate performSelector:@selector(windowDidAttach...
                 ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:459:17: note:
      also accessed here
            if (self.delegate != nil && [self.delegate respondsToSelecto...
                ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:459:42: note:
      also accessed here
            if (self.delegate != nil && [self.delegate respondsToSelecto...
                                         ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:460:18: note:
      also accessed here
                [self.delegate performSelector:@selector(windowDidDetach...
                 ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:574:9: warning:
      weak property 'delegate' is accessed multiple times in this method but may
      be unpredictably set to nil; assign to a strong variable to keep the
      object alive [-Warc-repeated-use-of-weak]
    if (self.delegate != nil && [self.delegate respondsToSelector:@selec...
        ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:574:34: note:
      also accessed here
    if (self.delegate != nil && [self.delegate respondsToSelector:@selec...
                                 ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:575:10: note:
      also accessed here
        [self.delegate performSelector:@selector(windowDidBecomeKey:)
         ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:589:9: warning:
      weak property 'delegate' is accessed multiple times in this method but may
      be unpredictably set to nil; assign to a strong variable to keep the
      object alive [-Warc-repeated-use-of-weak]
    if (self.delegate != nil && [self.delegate respondsToSelector:@selec...
        ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:589:34: note:
      also accessed here
    if (self.delegate != nil && [self.delegate respondsToSelector:@selec...
                                 ^~~~~~~~~~~~~
/Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/HWMonitor/OBMenuBarWindow.m:590:10: note:
      also accessed here
        [self.delegate performSelector:@selector(windowDidResignKey:)
         ^~~~~~~~~~~~~
7 warnings generated.

Code:
/bin/sh -c /Users/kgp/Desktop/OS-X-FakeSMC-kozlek-master/build/HWMonitor.build/Release/HWMonitor.build/Script-7EE5AFE71BC90FB400AB0EC1.sh
File Doesn't Exist, Will Create: ./Binaries/HWMonitor.app/Contents/Info.plist

These are all errors and warnings I get during compilation. You say that you are building in Xcode 8.3.3 or Xcode 9.1? Couldn't you simply try to compile the source with Xcode 9.1 and see if it works in your case? I know, I might ask too much by this. Thus, I might simply give up the endeavour to use your source distribution as the base for X299 sensor implementation.

The compilation issues definitely exceed my personal abilities. Many thanks for your appreciated help anyway, if there is really no solution.
 
Last edited:
@RehabMan, please note the update of post #13. Once more thanks for all your help and support!
 
I realised the difference in the CFBundleShortVersionString from the very beginning. A simple "Get Info" request already reveals the difference! But I though it was an error in the source and not due to an error caused by the compilation.

Code:
Last project revision: -
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
New project version: HWSENSORS_VERSION .
New project revision:

You need to use 'git clone' to properly clone the github repo.

These are all errors and warnings I get during compilation. You say that you are building in Xcode 8.3.3 or Xcode 9.1? Couldn't you simply try to compile the source with Xcode 9.1 and see if it works in your case? I know, I might ask too much by this. Thus, I might simply give up the endeavour to use your source distribution as the base for X299 sensor implementation.

I will try Xcode 9.1 and see if there is an issue.
I don't expect one.
 
You need to use 'git clone' to properly clone the github repo.


I will try Xcode 9.1 and see if there is an issue.
I don't expect one.


Works :thumbup::thumbup::thumbup::thumbup::thumbup: ! This was the last missing advice. Now I successfully compiled all files even with Xcode 9.1 and my system perfectly boots with the compiled FakeSMC.kext attached below!

You are awesome! :headbang:
 

Attachments

  • FakeSMC.kext.zip
    33.1 KB · Views: 78
Works :thumbup::thumbup::thumbup::thumbup::thumbup: ! This was the last missing advice. Now I successfully compiled all files even with Xcode 9.1 and my system perfectly boots with the compiled FakeSMC.kext attached below!

You are awesome! :headbang:

Just to confirm... just built with Xcode 9.1 and booted no problem with it.

I did have to make this one change to get the versioning to work correctly (creating Shared/version.h):
Code:
NUC6i7KYK:kozlek.git rehabman$ git diff
diff --git a/Scripts/PreBuild.sh b/Scripts/PreBuild.sh
index 95cdcecb..82ad0cae 100644
--- a/Scripts/PreBuild.sh
+++ b/Scripts/PreBuild.sh
@@ -20,7 +20,7 @@ then
 fi

 project_name="HWSensors"
-uppercased_name=$(echo $project_name | tr [[:lower:]] [[:upper:]])
+uppercased_name=$(echo $project_name | tr '[[:lower:]]' '[[:upper:]]')

 if [ -f $revision_file ]
 then

Must be some change in bash in a recent macOS update.
 
Just to confirm... just built with Xcode 9.1 and booted no problem with it.

I did have to make this one change to get the versioning to work correctly (creating Shared/version.h):
Code:
NUC6i7KYK:kozlek.git rehabman$ git diff
diff --git a/Scripts/PreBuild.sh b/Scripts/PreBuild.sh
index 95cdcecb..82ad0cae 100644
--- a/Scripts/PreBuild.sh
+++ b/Scripts/PreBuild.sh
@@ -20,7 +20,7 @@ then
 fi

 project_name="HWSensors"
-uppercased_name=$(echo $project_name | tr [[:lower:]] [[:upper:]])
+uppercased_name=$(echo $project_name | tr '[[:lower:]]' '[[:upper:]]')

 if [ -f $revision_file ]
 then

Must be some change in bash in a recent macOS update.

So I should git clone once more the source? Or how to implement the recent change?
 
So I should git clone once more the source? Or how to implement the recent change?

I have not checked in that change yet. It was just something I noticed now and given that I didn't need that change last I built, it must be something new/different in a recent macOS update.

You can make the change manually... if needed.

I will probably make the change when I next merge any changes from the upstream repo and do a new build.

Once I make the change and push it, you can just do 'git pull'.
 
  • Like
Reactions: kgp
I have not checked in that change yet. It was just something I noticed now and given that I didn't need that change last I built, it must be something new/different in a recent macOS update.

You can make the change manually... if needed.

I will probably make the change when I next merge any changes from the upstream repo and do a new build.

Once I make the change and push it, you can just do 'git pull'.

Perfect, thanks!
 
Status
Not open for further replies.
Back
Top