Charts: Help building Charts Demo

Created on 17 Sep 2018  ·  3Comments  ·  Source: danielgindi/Charts

What did you do?

I am new to XCode and MacOS so please forgive the stupid question, but I am stuck. I have downloaded and unzipped Charts onto the desktop. When I open Charts.xcworkspace and try to build, I get 29 error messages
Swift Compiler Error Group
/Users/mac/Desktop/Charts/Source/Charts/Animation/Animator.swift:73:52: Type 'RunLoop' has no member 'Mode'

I also tried to load just the ChartsDemo-macOS with the same results.

I know that I am doing something stupid (or not doing something) but being a NOOB I do not know where to look.

What did you expect to happen?

I was hoping to see a 'Build Succeeded and be able to run the Demo MacOs program.

What happened instead?

build fails with 29 error messages
Swift Compiler Error Group
/Users/mac/Desktop/Charts/Source/Charts/Animation/Animator.swift:73:52: Type 'RunLoop' has no member 'Mode'

Charts Environment

3.2
Xcode 9.4.1
4.? I do not know how to discover this. I just downloaded xcode from Apple a week ago
Platform(s) running Charts:
High Sierra

Demo Project

I am using the project(s) from this github site.

Most helpful comment

maybe you can use v3.1.1

All 3 comments

Please try this version:https://github.com/danielgindi/Charts/tree/4.0.0

@cythb be aware that repo still work on Xcode 9.4 only because we don't update that repo yet, as the 4.0 branch is a big change for us. The master branch make sure it will work with the latest Xcode, not the old ones.

If you wake up tomorrow and find 4.0 is on Xcode 10, don't be surprised.

maybe you can use v3.1.1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JW00332 picture JW00332  ·  4Comments

newbiebie picture newbiebie  ·  3Comments

sjdevlin picture sjdevlin  ·  3Comments

ahmedsafadii picture ahmedsafadii  ·  3Comments

guoyutaog picture guoyutaog  ·  3Comments