ChartsOrg / Charts

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

How to support iOS11 #4957

Open WGFcode opened 1 year ago

WGFcode commented 1 year ago

Xcode14.1 github "danielgindi/Charts" == 4.1.0

Compiling for iOS 11.0, but module 'Charts' has a minimum deployment target of iOS 12.0: /Users/XXX/Library/Developer/Xcode/DerivedData/NXY-bdiioyaaxczbxlgusvqtvlkagrqv/Index.noindex/Build/Products/Debug-iphoneos/Charts.framework/Modules/Charts.swiftmodule/arm64-apple-ios.swiftmodule

nitin-agam commented 1 year ago

Any solution to run on iOS 11?

luatvudinh commented 1 year ago

My workaround solution is:

  1. Download lib to my PC
  2. Copy source and Drag Charts.xcodeproj to my project
  3. Select Charts.xcodeproj from left folder tree
  4. Select target Charts
  5. Change Minimum Deployments iOS to 11.0
  6. Rebuild successful

Hope this would be helpful!

Toj-dev commented 1 month ago

Is there a problem with ios11?