VoodooSMBus / VoodooRMI

Synaptic Trackpad driver over SMBus/I2C for macOS
GNU General Public License v2.0
233 stars 19 forks source link

VoodooSMBus Dependency resolution failure #62

Closed gimdh closed 4 years ago

gimdh commented 4 years ago

Describe the bug When trying to load RMISMbus.kext following error occurs.

To Reproduce Build with xcodebuild and try loading with kextutil.

Expected behavior Loads properly

Log

Dependency Resolution Failures: 
    Kexts found for these libraries lack valid OSBundleCompatibleVersion: 
        de.leo-labs.VoodooSMBus
gimdh commented 4 years ago

I wonder if I used wrong VoodooSMBus. I tried latest release from VoodooSMBus/VoodooSMBus and this repo.

gimdh commented 4 years ago

In VoodooRMI/VoodooRMI/Transports/SMBus/Info.plist, dependency is defined as follows

<key>OSBundleLibraries</key>
    <dict>
        <key>de.leo-labs.VoodooSMBus</key>
        <string>3.0</string>

However, VoodooSMBus does not have OSBundleCompatibleVersion key in info.plist, nor the version is high enough. I edited required version at RMISMBus and added lines below to VoodooSMBut in order to let kextutil know it's compatible, and now it loads properly.

        <key>OSBundleCompatibleVersion</key>
        <string>1.0</string>

//Edit: https://github.com/VoodooSMBus/VoodooRMI/commit/af72b4ee23874d7b332735440cfab1ed0771201c apparently broke dependency. I guess you have your own VoodooSMBus.kext with bumped up version number, which is not updated to repo yet.

1Revenger1 commented 4 years ago

The dev branch of VoodooSMBus has the correct version, which is what this is based on. I did indeed bump up the version, and I should have a release on Monday with the new voodooSMBus in it.

gimdh commented 4 years ago

I'll keep in mind that I should use dev branch. Thanks!