yonaskolb / Mint

A package manager that installs and runs executable Swift packages
MIT License
2.25k stars 121 forks source link

Error: encountered an I/O error while reading /.../org.swift.swiftpm/configuration/mirrors.json #235

Closed qbarev closed 2 years ago

qbarev commented 2 years ago

I can't install any dependency via mint. I guess this happens due swift 5.6 and Command Line Tools 13.3

image
yonaskolb commented 2 years ago

Running mint install --verbose MakeAWishFoundation/SwiftyMocky completed successfully for me on my machine using Swift 5.6

swift --version
swift-driver version: 1.45.2 Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
Target: x86_64-apple-macosx12.0
yonaskolb commented 2 years ago

If you checkout that repo locally and run swift build does it work?

qbarev commented 2 years ago

Same :(

yonaskolb commented 2 years ago

If swift build isn't working either it's an issue with your machines configuration or the package, and not related to mint itself

qbarev commented 2 years ago

Yes. Reinstalling of Xcode helps