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: 'native-ios-app': invalid custom path 'Artsy' for target 'eigen' #600

Open
icarusdust opened this issue Nov 26, 2023 · 1 comment

Comments

@icarusdust
Copy link

Hi,

Steps to reproduce:

  1. Installing Danger through homebrew: brew install danger/tap/danger-swift
  2. It creates Dangerfile.swift with the following content:
// swift-tools-version:4.2
import PackageDescription

let package = Package(
    name: "Eigen",
    dependencies: [
      .package(url: "https://github.com/danger/swift.git", from: "1.0.0")
    ],
    targets: [
        // This is just an arbitrary Swift file in our app, that has
        // no dependencies outside of Foundation, the dependencies section
        // ensures that the library for Danger gets build also.
        .target(name: "eigen", dependencies: ["Danger"], path: "Artsy", sources: ["Stringify.swift"]),
    ]
)
  1. Running swift build swift run danger-swift pr [url_of_pr], and getting the following error:
    error: 'native-ios-app': invalid custom path 'Artsy' for target 'eigen'

Tried to install Eigen globally, but it does not help get rid of this error.

@skydivedan
Copy link

Does your local project have a path named Artsy? The path, and it's sources needs to be changed to fit your project.

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

2 participants