woshiccm / Pecker

CodePecker is a tool to detect unused Swift code.
MIT License
1.46k stars 63 forks source link

Can't compile on Apple Silicone M1 #65

Open c128128 opened 3 years ago

c128128 commented 3 years ago
/redacted/Pecker/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxParser.swift:195:57: error: missing argument for parameter #3 in call
    let c_top = swiftparse_parse_string(c_parser, source)
                                                        ^
                                                        , <#Int#>
_InternalSwiftSyntaxParser.swiftparse_parse_string:1:13: note: 'swiftparse_parse_string' declared here
public func swiftparse_parse_string(_: swiftparse_parser_t!, _ source: UnsafePointer<CChar>!, _ len: Int) -> swiftparse_client_node_t!
            ^

make: *** [build] Error 1
crarau commented 2 years ago

Getting the same I have a project having a big codebase, this would be helpful but the M1 chip is the main one used by the development team.

pelsor commented 1 year ago

same error on m1 chip