philackm / ScrollableGraphView

An adaptive scrollable graph view for iOS to visualise simple discrete datasets. Written in Swift.
MIT License
5.31k stars 471 forks source link

EXC_BAD_ACCESS #96

Open tommyle opened 7 years ago

tommyle commented 7 years ago

I'm getting EXC_BAD_ACCESS when trying to run the example code with CocoaPods. If I run the example with the included source files it works fine but when I use cocoapods I get a EXC_BAD_ACCESS. The error occurs when setting the graphView.dataSource. Is this an issue with 4.0.4?

screen shot 2017-07-25 at 1 55 54 pm
tommyle commented 7 years ago

When using cocoapods you need to set the Module to ScrollableGraphView

screen shot 2017-07-25 at 4 26 36 pm
AbidSana commented 7 years ago

I have the same problem. Did you ever find a way to resolve this?

tommyle commented 7 years ago

@AbidSana Yes, please see the screen shot i posted. You need to set the Module to ScrollableGraphView.

AbidSana commented 7 years ago

Yes, I set the Module to ScrollableGraphView like in your screen shot, but the exception still persists.