When I try to compile and upload a program to the XIAO nRF52840 I get the error:
[16415] Error loading Python lib '/var/folders/x7/_nwwqxs17m5fylrm6vpnkxkw0000gn/T/_MEIElzWvC/libpython3.8.dylib': dlopen: dlopen(/var/folders/x7/_nwwqxs17m5fylrm6vpnkxkw0000gn/T/_MEIElzWvC/libpython3.8.dylib, 10): Symbol not found: _preadv
Referenced from: /var/folders/x7/_nwwqxs17m5fylrm6vpnkxkw0000gn/T/_MEIElzWvC/libpython3.8.dylib (which was built for Mac OS X 11.1)
Expected in: /usr/lib/libSystem.B.dylib
in /var/folders/x7/_nwwqxs17m5fylrm6vpnkxkw0000gn/T/_MEIElzWvC/libpython3.8.dylib
Using library SPI at version 1.0 in folder: /Users/david/Library/Arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/libraries/SPI
Using library Wire at version 1.0 in folder: /Users/david/Library/Arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/libraries/Wire
Using library Adafruit_TinyUSB_Arduino at version 1.7.0 in folder: /Users/david/Library/Arduino15/packages/Seeeduino/hardware/nrf52/1.1.1/libraries/Adafruit_TinyUSB_Arduino
exit status 255
/Applications/Arduino.app/Contents/Java/arduino-builder returned 255
Error compiling for board Seeed XIAO nRF52840.
I get the same error if I try Export Compiled Binary.
I’m using Arduino IDE 1.8.13 on a MacBook Pro with Macos Catalina 10.15.7, and Version 1.1.1 of the Seeed nRF52 Boards core.
Any suggestions?