jwise / HoRNDIS

Android USB tethering driver for Mac OS X
Other
2.98k stars 328 forks source link

The Installer encountered an error that caused the installation to fail #122

Open tiholic opened 4 years ago

tiholic commented 4 years ago

The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “HoRNDIS-9.2.pkg”

on MacOS Catalina: 10.15.4

==Update==

Installing from source

Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild

note: Using new build system
note: Planning build
note: Constructing build description
error: unable to find sdk 'macosx10.11' (in target 'HoRNDIS' from project 'HoRNDIS')
tiholic commented 4 years ago

Was able to build it by git grep macosx10.11 and changing all references to my sdk version.

SDK version can be found by running xcodebuild -showsdks. Pick the one from macOS SDKs

tiholic commented 4 years ago

However, unable to install kext as it requires to be signed

jeevatattva commented 4 years ago

Not sure if you've figured it already but you can codesign the kext using a certificate in your system keychain.

$ codesign -s "<Developer ID: my organization>" HoRNDIS.kext

<Developer ID: my organization>: a certificated in your system keychain.

Instructions of creating a certificate, and then, signing a binary using the certificate is available here or you can refer to official Apple documentation.

tiholic commented 4 years ago

Thanks for that @jeevatattva !

I couldn't successfully install the kext anyways. Dropped the idea of tethering for now and using a hotspot+wifi

TristanMarion commented 4 years ago

Hi @tiholic Check this issue, it should help you : https://github.com/jwise/HoRNDIS/issues/102