Skip to content

ch32v103c8t6 upload failed on macOS #7

@Ali201409

Description

@Ali201409

Program is compiled successfully. when I tried to upload firmware, I got following message:
dyld[1034]: Library not loaded: /usr/local/opt/libusb/lib/libusb-1.0.0.dylib
Referenced from: /Users/chenli/.platformio/packages/tool-openocd-riscv-wch/bin/openocd
Reason: tried: '/usr/local/opt/libusb/lib/libusb-1.0.0.dylib' (code signature in <04015360-D1D9-313C-87B0-05F7AC278738> '/usr/local/Cellar/libusb/1.0.27/lib/libusb-1.0.0.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/usr/lib/libusb-1.0.0.dylib' (no such file), '/usr/local/Cellar/libusb/1.0.27/lib/libusb-1.0.0.dylib' (code signature in <04015360-D1D9-313C-87B0-05F7AC278738> '/usr/local/Cellar/libusb/1.0.27/lib/libusb-1.0.0.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/usr/lib/libusb-1.0.0.dylib' (no such file)

Then I installed libusb through brew, but could not resolve it.
Can anybody provide some suggestions ? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions