wpilibsuite / WPILibInstaller-Avalonia

Other
8 stars 20 forks source link

On macOS, the `java` executable included with WPILib doesn't have a code signature when updating #402

Open ajs256 opened 6 months ago

ajs256 commented 6 months ago

After updating WPILib on my ARM Mac with macOS 14.3.1, I get a crash report notification that a java executable called by VS Code was killed because it had an invalid code signature. The report doesn't include where the executable is (which is presumably anonymization), so that's all the info I have. Deleting ~/wpilib before running the installer doesn't cause the issue to appear.

I had this issue before with the 2024.2.1 installer https://discord.com/channels/176186766946992128/528555967827148801/1204646157847101461, and the same fix worked.

ajs256 commented 6 months ago

This likely won't happen on an Intel Mac. ARM (Apple silicon) Macs require a signature for all code, even if it's an ad-hoc signature.