Unable to replace/overwrite files on CIRCUITPY drive
Please check to ensure your running the latest 4.x stable release of CircuitPython by following these steps.
If your project requires CircuitPython 5.0.0 or later and you wish to edit your code on iOS/iPadOS follow these steps:
- Connect your CircuitPython device to your computer
- Open the CIRCUITPY drive (press CMD+Shift+period to view hidden files on macOS)
- Delete the file named .Trashes
You should now be able to delete and replace files on your CircuitPython device from iOS/iPadOS.
CircuitPython 5.0.0 uses a file named .Trashes which is hidden by default on macOS. This file prevents macOS from storing deleted files on the CIRCUITPY drive before the system trash is emptied – helping to conserve the limited storage space of CircuitPython devices. Currently, the iOS Files app is incompatible with this technique, and presence of the file prevents deletion of any other file on the CIRCUITPY drive.