This error is caused by using an older version of macOS than the minimum requirement of 10.10. My notes indicate that the last version of the Arduino IDE compatible with the older macOS is Arduino IDE 1.8.9. You can download that version here: https://www.arduino.cc/en/Main/OldSoftwareReleases#1.5.x
Ah, yes, you'll definitely need to read the documentation for your Adafruit board. I'm not sure what this "Arduino Metro with WiFi" is, but it's almost certainly not compatible with the "Arduino Uno WiFi" board selection.
However, the "dyld: Symbol not found: _fdopendir$INODE64" error you got is from arduino-builder, and will occur no matter what board you compile for. So you also need to use a compatible version of the Arduino IDE.