ChartsOrg / Charts

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

Apple silicon Macs support issue #5102

Closed kleber-maia closed 6 months ago

kleber-maia commented 11 months ago

What did you do?

Upgraded to 5.0

What did you expect to happen?

For my app to keep being supported on silicon Macs.

What happened instead?

The app no longer runs on My Mac (Designed for iPad) target:

No such file or directory: '/Users/klebermaia/Library/Developer/Xcode/DerivedData/Cash_Predict-cbxqrzsefmsduudxmvxsedneiazn/Build/Products/Debug-iphoneos/PackageFrameworks/DGChartsDynamic.framework/DGChartsDynamic'

Upon pushing a build to Test Flight, I've also received this email from Apple:

ITMS-90863: Apple silicon Macs support issue - The app links with libraries that are not present on Mac:

- /Volumes/workspace/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/Cash Predict/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/DGChartsDynamic.framework/DGChartsDynamic

After you’ve corrected the issues, you can upload a new binary to App Store Connect.

DGCharts Environment

DGCharts version/Branch/Commit Number:

        "revision" : "0a229f8c914b0ec93798cee058cf75b339297513",
        "version" : "5.0.0"

Xcode version: 15.0 Beta 8 Swift version: Swift 5 Platform(s) running DGCharts: macOS macOS version running Xcode: Sonoma

Demo Project

ℹ Please link to or upload a project we can download that reproduces the issue.

Shirayo commented 11 months ago

Delete package and add it again but select only DGCharts. It fixed problem for me

image
kleber-maia commented 11 months ago

Delete package and add it again but select only DGCharts. It fixed problem for me image

Thanks. I've already migrated all my charts to SwiftUI's Chart. 🤠

p.s. DGCharts was a blessing and I'm really grateful for having it for the past several years, but times have changed.

Shirayo commented 11 months ago

That's great! 🤠 But for me it's not a solution since my application should be supported from iOS 14.

JensWii commented 8 months ago

Hi, unfortunately I have the same problem and deleting the package and only installing DGCharts did not help. Has anybody another solution?

davita00101110dmg commented 8 months ago

Delete package and add it again but select only DGCharts. It fixed problem for me image

Worked for me! Thanks!

pmairoldi commented 6 months ago

Seems like a solved problem closing.