Simple Voice Chat

Simple Voice Chat

36M Downloads

Doc update: MacOS Microphone

drewburr opened this issue · 9 comments

commented

Relates to the MacOS Microphone Permission Hack documentation/process.

Today I helped someone patch their Minecraft launcher on MacOS and I wanted to provide some feedback since it seems that historically this has been a pain point for you guys (Looking at you, #24).

Additional context
MacOS Monterey (12.2.1) Intel CPU
Minecraft 1.18.2, launched via CurseForge
Mod version 2.2.26 for Fabric.

Feedback

After installing the mod, we did get the new pop-up for patching the Minecraft installation. We were able to do this once locating the CurseForge-specific launcher (~/Documents/curseforge/Installation/Minecraft.app), but we were not able to get the microphone working still. When joining a world, we got a message asking for permissions to be granted via the Security & Privacy section. Minecraft didn't show up under microphone permissions, so we pulled up the above-linked docs and noticed the codesign commands. We attempted to sign the launcher application, but ended up running into the errors described in this Apple Developers Q&A.

resource fork, Finder information, or similar detritus not allowed.

We were able to get around this by executing:

xattr -cr ~/Documents/curseforge/Installation/Minecraft.app

Which allowed the codesign command to work without issue. The Microphone permission popped up during the Minecraft startup sequence, and we were able to get running with no problems.

I guess my suggestion here is to consider either including both the xattr and codesign commands in the workaround process, or add this additional bit of information to the documentation.

Lastly, we also noticed that after the currently-automated patching process, every time we load the game we get 7-8 pop-ups for reading values from the Keychain. For the sake of time, we did not look into fixing this, but I wonder if there's a workaround we could find there? It's really not that bad, it's just annoying to type in a password 7-8 times every time we launch the game.

Hopefully this is helpful to you all. This plugin is awesome, thank you for supporting it!

commented

2022-03-07_09-23-27

commented

Thank you for letting us know. We will try this command if people have issues with the patcher. If it works for them, we'll add it to the patcher.

commented

Hello, Monterey user here too, running MultiMC. Tried the xattr suggestion above and then running the patcher (with Java 18) but it didn't seem to work. Anything else I can try?
(I'm using the plasmo-voice mod which points to your patcher for use too). Running the launcher from the terminal which has mic perms and then the game works but that's far from ideal.

commented

Tried it with simple-voice-chat as well, the NSMicrophoneUsageDescription permission does get added in MultiMC's info.plist but I never get a prompt to allow access to the microphone, not even after clicking on Enable microphone testing. What else can I try?

commented

Hi, I'm not trying to provide support, I'm reporting my findings as I do not know how to fix it myself because I find that it might be of help to someone who does

Edit: Ah yes that "what else can I try" does seem like asking for support, yeah that makes sense but still I find that the feedback could be of help to developers

commented

I marked these messages as off topic since their messages are support related and didn't add to the actual topic.
GitHub is only for bugs and enhancements, not for getting support.
It was also not feedback it was just a support request.

commented

@drewburr unfortunately, this command didn't work for the people having issues with the patcher.

commented

Thanks for the heads up @henkelmax. I think it might be worth working with @Devnol rather than deleting their messages every time feedback is left :)

commented

Hello all, I know I'm late, im just trying to help: I found a fix that worked for me (m2 mac): I do not own this document and none of the work is mine: https://docs.google.com/document/d/1DvRBN11Dl-ClJ7T-fpYyPBfk39TYott33biHYsLXaTM/edit
instructions are in the document. hope this helps. p.s i know its tedious but it works.