AppPear / ChartView

ChartView made in SwiftUI
MIT License
5.31k stars 652 forks source link

Dependencies could not be resolved because no versions of 'ChartView' #209

Closed arbyruns closed 3 years ago

arbyruns commented 3 years ago

Unable to add package

Dependencies could not be resolved because no versions of 'ChartView' match the requirement 2.0.0..<3.0.0 and root depends on 'ChartView' 2.0.0..<3.0.0.

Description

Unable to import SwiftUICharts do the error

import SwiftUICharts

Dependencies could not be resolved because no versions of 'ChartView' match the requirement 2.0.0..<3.0.0 and root depends on 'ChartView' 2.0.0..<3.0.0.

Failed to resolve dependencies

Expected Behavior

Should be able to add package.

Actual Behavior

Adding package fails.

Possible Fix

Steps to Reproduce

  1. File
  2. Add package
  3. paste in package link: https://github.com/AppPear/ChartView

Your Environment

xCode 13 beta 5

arbyruns commented 3 years ago

issue resolved on its own.

AP-94 commented 2 years ago

@rbevans-ugh how exactly this issue was resolved? Im trying to add the package but always get the same error "Package resolution failed"

skywalkerlw commented 2 years ago

i got the same problem on Xcode 13

image

AP-94 commented 2 years ago

i got the same problem on Xcode 13

image

I recently resolved this issue, just removed the packages manually and added them again. All after doing a Clean, and removing Derived Data