Azoy / Sword

Discord library for Swift
https://azoy.github.io/Sword
MIT License
179 stars 52 forks source link

Can't generate xcodeproj file. #46

Closed Oschly closed 5 years ago

Oschly commented 5 years ago

Hi I have added to my project dependencies Sword, then ran swift package update and when I am trying to run swift package generate-xcodeproj I am getting an error:

Fatal error: Duplicate values for key: 'Async': file /BuildRoot/Library/Caches/com.apple.xbs/Binaries/swiftlang/install/TempContent/Objects/BNI_assert_lightweight/swift-macosx-x86_64/stdlib/public/core/8/HashedCollections.swift, line 8108 [1] 21343 illegal hardware instruction swift package generate-xcodeproj

What can I do? I am on macOS Mojave 10.14 using newest Xcode 9.

Azoy commented 5 years ago

Hi, can you try using the dev branch? .package(url: "https://github.com/Azoy/Sword", .branch("dev")), then after putting that into your Package.swift, can you run rm -rf ./build && rm package.resolved && swift package generate-xcodeproj?

Oschly commented 5 years ago

Dev branch is working. Thanks for the help!