ivnsch / SwiftCharts

Easy to use and highly customizable charts library for iOS
Apache License 2.0
2.53k stars 410 forks source link

SwiftCharts architecture error when generating a simulator build #378

Open zoufishanmehdi opened 5 years ago

zoufishanmehdi commented 5 years ago

I use this command xcodebuild ENABLE_BITCODE=NO -workspace '/Users/zoufmehdi/Projects/Healthie/NewHealthie/healthie-master/healthie_ios/Healthie.xcworkspace' -scheme 'Healthie' -arch x86_64 -sdk iphonesimulator PLATFORM_NAME=iphonesimulator to generate a simulator build. When I updated my cocoapod from 'SwiftCharts', '0.6.1' to 'SwiftCharts', '0.6.3' and used that command to generate a simulator build, I was seeing a lot of compileswift error related to architecture of this cocoapod. I'm using Xcode 10.1 and Swift 4. Any ideas?

`The following build commands failed:

CompileSwift normal x86_64 /Users/zoufmehdi/Projects/Healthie/NewHealthie/healthie-master/healthie_ios/Pods/SwiftCharts/SwiftCharts/Views/ChartAreasView.swift

CompileSwift normal x86_64 /Users/zoufmehdi/Projects/Healthie/NewHealthie/healthie-master/healthie_ios/Pods/SwiftCharts/SwiftCharts/Drawers/ChartLabelDrawer.swift

CompileSwift normal x86_64 /Users/zoufmehdi/Projects/Healthie/NewHealthie/healthie-master/healthie_ios/Pods/SwiftCharts/SwiftCharts/Views/ChartLinesView.swift

CompileSwift normal x86_64 /Users/zoufmehdi/Projects/Healthie/NewHealthie/healthie-master/healthie_ios/Pods/SwiftCharts/SwiftCharts/Views/ChartPointEllipseView.swift

CompileSwift normal x86_64 /Users/zoufmehdi/Projects/Healthie/NewHealthie/healthie-master/healthie_ios/Pods/SwiftCharts/SwiftCharts/Layers/ChartPointsLineLayer.swift

CompileSwift normal x86_64 /Users/zoufmehdi/Projects/Healthie/NewHealthie/healthie-master/healthie_ios/Pods/SwiftCharts/SwiftCharts/Layers/ChartPointsViewsLayer.swift

CompileSwift normal x86_64 /Users/zoufmehdi/Projects/Healthie/NewHealthie/healthie-master/healthie_ios/Pods/SwiftCharts/SwiftCharts/Views/ChartPointViewBarGreyOut.swift

CompileSwift normal x86_64 /Users/zoufmehdi/Projects/Healthie/NewHealthie/healthie-master/healthie_ios/Pods/SwiftCharts/SwiftCharts/Views/ChartViewAnimators.swift

CompileSwift normal x86_64 /Users/zoufmehdi/Projects/Healthie/NewHealthie/healthie-master/healthie_ios/Pods/SwiftCharts/SwiftCharts/String.swift

CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler`