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

Package resolution failed? #220

Open
mehmet0zen opened this issue Nov 6, 2021 · 5 comments
Open

Package resolution failed? #220

mehmet0zen opened this issue Nov 6, 2021 · 5 comments

Comments

@mehmet0zen
Copy link

mehmet0zen commented Nov 6, 2021

I am using a Mac book pro M1 and I got the warning that says Package resolution failed!

Description

I don't know why but I selected "add anyways" and now whenever I try to import SwiftUIChart it just gives me the error that No such module 'SwiftUICharts'.

Expected Behavior

In a tutorial the person uses it on iOS 13 device and the guy does not get any warnings at the beginning.

Possible Fix

Maybe the version of Xcode I am using could be the issue, (its the latest version) but probable its because I have M1 (silicon) MacBook.

Your Environment

  • Version of this package used: 2.0.0, also tried 1.5.4 (same result)
  • Operating System and version: macOS Monterey M1 12.0.1

Screen Shot 2021-11-05 at 10 00 29 PM

@JOyo246

This comment was marked as outdated.

@KrishnaRLolage
Copy link

If you need beta, the extact version is "2.0.0-beta.2"

@romrell4
Copy link

I got this error once, but it worked either using master as the branch, or 2.0.0-beta.2 as @KrishnaRLolage suggested

@leecommamichael
Copy link

You may also see this warning if you added a package-dependency to the app-target and not the widget-extension target in Xcode.

@mevluet1968
Copy link

Anybody who has solved this issue? I've tried the above suggestions without a result. 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

6 participants