LucianoPAlmeida / variable-injector

Continuous Integration Tool for Swift Projects
MIT License
100 stars 20 forks source link

[Bug] Fatal error #14

Closed amadeu01 closed 4 years ago

amadeu01 commented 4 years ago

Try to run variable-injector --file, I got:

Fatal error: Error raised at top level: SwiftSyntax parser library isn't compatible: file /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-1103.8.25.8/swift/stdlib/public/core/ErrorType.swift, line 200
[1]    64575 illegal hardware instruction  variable-injector --file
LucianoPAlmeida commented 4 years ago

Could you provide the version of Xcode/Toolchain and injector versions? Thanks

amadeu01 commented 4 years ago

@LucianoPAlmeida

👉  xcodebuild -version
Xcode 11.4.1
Build version 11E503a

injector: 0.3.1

👉  swift --version
Apple Swift version 5.2.2 (swiftlang-1103.0.32.6 clang-1103.0.32.51)
Target: x86_64-apple-darwin19.4.0
LucianoPAlmeida commented 4 years ago

Can you try with 0.3.2, this relies on SwiftSyntax which can cause problems across versions of the language. Let us know if the problem is still there, and we will investigate :)

amadeu01 commented 4 years ago

I coudn't install the 0.3.2 version, but I managed to install the version on master It worked.

amadeu01 commented 4 years ago

@LucianoPAlmeida the bitrise step uses the master version?

LucianoPAlmeida commented 4 years ago

I remember we can specify the version there. What is the issue with 0.3.2? Maybe I can release a fix

amadeu01 commented 4 years ago

I couldn’t install the newest version due to the lack of the release, but you had fixed that ! Thanks @LucianoPAlmeida

LucianoPAlmeida commented 4 years ago

Sure! Closing this then :)