ChartsOrg / Charts

Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.
Apache License 2.0
27.58k stars 6k forks source link

Install pod 'DGCharts' & pod 'ChartsRealm' is the name of the libraries, then i'm trying to build the application i'm getting errors: #5188

Open ReddyInd opened 3 months ago

ReddyInd commented 3 months ago

I created new UIKit Project and Install pod 'DGCharts' & pod 'ChartsRealm' is the name of the libraries, then updated DeploymentTarget as Xcode suggested for library. I try to build the application in swift UIKit Project, getting bellow multiple errors please check below screen shot:

Screenshot 2024-07-16 at 12 10 55 PM

I'm trying to resolve the RangeReplaceableCollection protocol error by adding method
public func replaceSubrange(_ subrange: Range, with newElements: C) where C : Collection, ChartDataEntry == C.Element {

}
but still causing another issue.
Another  issue:

Command SwiftComplie failed with nonzero exit code: error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/91a344b1-f985-11ee-b563-fe8bc7981bff/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]

I'm using Xcode15.0 Can anyone help me to resolve this issues.

Thanks in Advance.

ReddyInd commented 3 months ago

still issue not resolved

kokoite commented 2 months ago

I used Swift UI charts instead of using DGCharts

ReddyInd commented 2 months ago

My app need to supports iOS13 also

On Tue, 27 Aug 2024 at 1:45 PM, Pranjal Agarwal @.***> wrote:

I used Swift UI charts instead of using DGCharts

— Reply to this email directly, view it on GitHub https://github.com/ChartsOrg/Charts/issues/5188#issuecomment-2311856695, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBT62H3VOEAMSM6ZGMASRTZTQYSDAVCNFSM6AAAAABK55IPN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJRHA2TMNRZGU . You are receiving this because you modified the open/close state.Message ID: @.***>