madhatter68 / JackRouter

Yet Another JackRouter implementation for MacOS
MIT License
33 stars 5 forks source link

Xcode newbie #4

Open gdhgdhgdh opened 4 years ago

gdhgdhgdh commented 4 years ago

Hello :) I've been compiling some JACK apps for the Mac, with pretty good success. I've never used Xcode (11.3) before, tho',

When I Product -> Build the JackBridgePlugin, after a few moments it says Build Succeeded - but I can't find where the actual compiled files are - can you help?

madhatter68 commented 4 years ago

Sorry for late response. Please look into ~/Library/Developer/Xcode/DerivedData. You can find 'JackBridgePlugin.driver' with following command.

% find ~/Library/Developer/Xcode/DerivedData -name 'JackBridgePlugIn.driver'

gdhgdhgdh commented 4 years ago

Super - thank you :) Have you been able to make the router work on Catalina? Is it possible to 'whitelist' or does it need Apple to notarize?

madhatter68 commented 4 years ago

In my understanding, I need join Apple Developer Program to notarize this driver. So I can't make it work on Catalina without warning for now.

If you don't mind, you can still use JackBridge by following process. You have to do this everytime you restart system.

  1. After restart, the following Alert appears. Choose 'Cancel' “JackBridgePlugIn.driver” cannot be opened because the developer cannot be verified. macOS cannot verify that this app is free from malware.

  2. Go 'System Preference' -> 'Security & Privacy' and Choose 'Allow Anyway'

  3. Restart coreaudiod on Terminal % sudo -u _coreaudiod killall coreaudiod

  4. The following Alert appears. Choose 'Open' macOS cannot verify the developer of “JackBridgePlugIn.driver”. Are you sure you want to open it?

  5. Now, you can see 'JackBridge' on 'System Preference' -> 'Sound' -> 'Output' tab

Sorry for inconvenience.

gdhgdhgdh commented 4 years ago

Amazing - thank you :D Would it help you if I forked the repo and had the code notarized as me so it will ease the end-user experience?

It's your work so I don't want to stomp on that - you deserve the credit!

madhatter68 commented 4 years ago

Thanks for your suggestion! It's very helpful if you build JackBridge driver with notarization. If you publish it, please let me know. I will change the link to prebuilt binary location to yours.

gdhgdhgdh commented 4 years ago

Great - I just got an old MacBook Air today and the JackBridge driver runs fine with the workaround you described. Xcode is downloading and I'll take a look at how build + notarise works :) Something new every day.

gdhgdhgdh commented 4 years ago

Ah right, Apple charge $99 to sign up for their developer programme. Dumb of me to assume it would be free, tbh :/

gdhgdhgdh commented 4 years ago

Wow and it gets worse. macOS 10.16 will remove support for kernel drivers completely.

Do you know if the bridge will need major work to support the new 'system extension' model?