Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Linux support #56

Merged
merged 1 commit into from
Nov 9, 2020
Merged

Conversation

ltetzlaff
Copy link
Contributor

I was getting these errors before on swift 5.3 images:

.build/checkouts/SwiftyXMLParser/SwiftyXMLParser/Parser.swift:60:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
                              ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
.build/checkouts/SwiftyXMLParser/SwiftyXMLParser/Parser.swift:73:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        func parser(_ parser: XMLParser, foundCharacters string: String) {
                              ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
.build/checkouts/SwiftyXMLParser/SwiftyXMLParser/Parser.swift:81:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
                              ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
.build/checkouts/SwiftyXMLParser/SwiftyXMLParser/Parser.swift:88:31: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
        func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
                              ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
.build/checkouts/SwiftyXMLParser/SwiftyXMLParser/Parser.swift:28:29: error: cannot find type 'XMLParserDelegate' in scope
    class Parser: NSObject, XMLParserDelegate {
                            ^~~~~~~~~~~~~~~~~
.build/checkouts/SwiftyXMLParser/SwiftyXMLParser/Parser.swift:37:26: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
            let parser = XMLParser(data: data)
                         ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject

@kazuhiro4949
Copy link
Member

Thanks!

@kazuhiro4949 kazuhiro4949 merged commit c9c6d46 into yahoojapan:master Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants