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

Library does not compile under swift 4 #13

Open
gastrodon opened this issue Oct 31, 2018 · 0 comments
Open

Library does not compile under swift 4 #13

gastrodon opened this issue Oct 31, 2018 · 0 comments

Comments

@gastrodon
Copy link

Output: https://pastebin.com/Ey1pDyVu

main.swift:

print("Hello, world!")

Package.swift:

import PackageDescription

let package = Package(
    name: "PinSwift",
    dependencies: [
        .package(url: "https://github.com/eonist/Element.git", .branch("master"))
    ],
    targets: [
        .target(
            name: "PinSwift",
            dependencies: [
                "Element",
            ],
            path: "Sources"
        ),
        .testTarget(
            name: "PinSwiftTests",
            dependencies: ["PinSwift"]),
    ]
)

AppDelegate.swift is empty

If I'm importing the library wrong, please let me know. It doesn't work in Package.swift the way mentioned in README.md, so I've changed that

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

No branches or pull requests

1 participant