yonaskolb / Mint

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

Failed to build Ice. Use --verbose to see full output #101

Closed PlaceRem closed 5 years ago

PlaceRem commented 6 years ago

Hello. I am trying to install Ice (https://github.com/jakeheis/Ice) and get error.

🌱 Finding latest version of Ice 🌱 Resolved latest version of Ice to 0.7.0 🌱 Cloning https://github.com/jakeheis/Ice.git 0.7.0... 🌱 Building Ice Package with SPM... Failed to build Ice. Use --verbose to see full output

When I go to manual mode. As saying below:

git clone https://github.com/jakeheis/Ice cd Ice swift build -c release mv .build/release/ice /usr/bin/local/ice

I got next error: error: cannot load underlying module for 'XCTest' import XCTest ^ error: terminated(1): /Library/Developer/CommandLineTools/usr/bin/swift-build-tool -f /Users/Admin/Ice/.build/release.yaml main output:

How to avoid error and install Ice?

yonaskolb commented 6 years ago

Hi @PlaceRem. What version of Swift do you have?

swift --version
PlaceRem commented 6 years ago

@yonaskolb, Swift version 4.1.2.

yonaskolb commented 6 years ago

On macOS or Linux?

PlaceRem commented 6 years ago

macOS

yonaskolb commented 5 years ago

Looks like this was solved here https://github.com/jakeheis/Ice/issues/25