// swift-tools-version:4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let pkgName = "gir2swift"

let package = Package(
    name: pkgName,
    dependencies: [ .package(url: "https://github.com/rhx/SwiftLibXML.git", .branch("master")) ],
    targets: [
        .target(name: pkgName, dependencies: ["SwiftLibXML"]),
        .testTarget(name: "\(pkgName)Tests", dependencies: [.byNameItem(name: pkgName)]),
    ]
)

// swift-tools-version:4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let pkgName = "gir2swift"

let package = Package(
    name: pkgName,
    dependencies: [ .package(url: "https://github.com/rhx/SwiftLibXML.git", from: "2.0.0"), ],
    targets: [
        .target(name: pkgName, dependencies: ["SwiftLibXML"]),
        .testTarget(name: "\(pkgName)Tests", dependencies: [.byNameItem(name: pkgName)]),
    ]
)

--- 
+++ 
@@ -7,7 +7,7 @@
 
 let package = Package(
     name: pkgName,
-    dependencies: [ .package(url: "https://github.com/rhx/SwiftLibXML.git", from: "2.0.0"), ],
+    dependencies: [ .package(url: "https://github.com/rhx/SwiftLibXML.git", .branch("master")) ],
     targets: [
         .target(name: pkgName, dependencies: ["SwiftLibXML"]),
         .testTarget(name: "\(pkgName)Tests", dependencies: [.byNameItem(name: pkgName)]),
Use SwiftLibXML from master branch
