Charts: iOS 10 and swift 3.0 issues

Created on 16 Sep 2016  Â·  7Comments  Â·  Source: danielgindi/Charts

Version 2.2.5 is not working with swift v3.0, tried to convert my code to swift 3.0 but the Charts library is still generating errors, any ideas ?

Most helpful comment

I upgraded to XCode 8 and updated my pods using Cocoapods, I got 138 build errors. Please find in the attachment.
screen shot 2016-09-16 at 3 12 47 pm

All 7 comments

Use swift 2.3 until Swift 3.0 update is ready for this library.

I upgraded to XCode 8 and updated my pods using Cocoapods, I got 138 build errors. Please find in the attachment.
screen shot 2016-09-16 at 3 12 47 pm

I managed to solve the issue temporarily, as @trsneed said use Swift 2.3 for the time being, while converting your project select Swift 2.3, it worked for me

thanks @AlexyIbrahim, Hope this library will be updated soon for supporting swift 3.

You need to download the correct branch of the project (top left, over the files, select Branch and then 'Swift 3.0').

Use the correct branch in your podfile:

pod 'Charts', :git => 'https://github.com/danielgindi/Charts.git', :branch => 'Swift-3.0'

see #1291

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sjdevlin picture sjdevlin  Â·  3Comments

cilasgimenez picture cilasgimenez  Â·  4Comments

guoyutaog picture guoyutaog  Â·  3Comments

anhltse03448 picture anhltse03448  Â·  3Comments

JW00332 picture JW00332  Â·  4Comments