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

error: no such module 'DangerSwiftPeriphery' #67

Open
azurast opened this issue Mar 20, 2024 · 0 comments
Open

error: no such module 'DangerSwiftPeriphery' #67

azurast opened this issue Mar 20, 2024 · 0 comments

Comments

@azurast
Copy link

azurast commented Mar 20, 2024

Hi there, I tried following the instructions as mentioned in the readme, but I kept getting the following error in my CI

error: no such module 'DangerSwiftPeriphery'
import DangerSwiftPeriphery
       ^

ERROR: Dangerfile eval failed at Dangerfile.swift

My Package.swift looks like this:

// swift-tools-version: 5.9
import PackageDescription


let package = Package(
    name: "myApp-danger",
    defaultLocalization: "en",
    platforms: [.macOS(.v13)],
    dependencies: [
        .package(url: "https://github.com/danger/swift.git", from: "3.0.0"),
        .package(url: "https://github.com/taji-taji/DangerSwiftPeriphery.git", from: "1.0.0")
    ],
    targets: [
        .target(
            name: "myAppName",
            dependencies: [
                .product(name: "Danger", package: "swift"),
                .product(name: "DangerSwiftPeriphery", package: "DangerSwiftPeriphery")
            ],
            path: "myAppPath"
        ),
    ]
)

Any help would be appreciated. Thanks!

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