import PackageDescription

let package = Package(
    name: "fabric-sdk-swift",
    targets: [
        Target(name: "Hfc",
           dependencies: ["Protos"])
    ],
    dependencies: [
        .Package(url: "https://github.com/apple/swift-protobuf.git", Version(0,9,27)),
        .Package(url: "https://github.com/grpc/grpc-swift.git", Version(0,1,10))
    ]
)

import PackageDescription

let package = Package(
    name: "fabric-sdk-swift",
    targets: [
        Target(name: "Hfc",
           dependencies: ["Protos"])
    ],
    dependencies: [
        .Package(url: "https://github.com/apple/swift-protobuf.git", Version(0,9,27)),
        .Package(url: "https://github.com/grpc/grpc-swift.git", Version(0,1,10))
    ]
)

products.append(
    Product(
        name: "SwiftHFC",
        type: .Library(.Dynamic),
        modules: [
            "Hfc",
            "Protos"
        ]
    )
)

Build a dynamic library libSwiftHFC.dylib
Build a dynamic library libSwiftHFC.dylib

