DR-charts
DR-charts copied to clipboard
Hi Team, Facing Crash issue DR-Charts
I'm facing issues are as follows.
- I had Update my pod file and add new pods to install and i don't want to update DR-Charts from 1.3 to 1.4. but when I execute 'pod install --no-repo-update' on terminal I got follwing error [!] Unable to satisfy the following requirements:
-
drCharts (from
https://github.com/Zomato/DR-charts.git)
required byPodfile
-
drCharts (= 1.3)
required byPodfile.lock
None of your spec sources contain a spec satisfying the dependencies: drCharts (from
https://github.com/Zomato/DR-charts.git), drCharts (= 1.3)
.
Then I update my pods using 'pod update' due to this DR-Charts are also updated from 1.3 to 1.4
After updating DR-Charts My App started Crashing, find below is the Crash Log. Please tell me the solution what Can I do to Resolve it.
Crash Log
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MyNewGraphViewController dataForXAxisWithLineNumber:]: unrecognized selector sent to instance 0x7f87afc52a90'
*** First throw call stack:
(
0 CoreFoundation 0x000000010d4f9d4b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010cbf921e objc_exception_throw + 48
2 CoreFoundation 0x000000010d569f04 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x000000010d47ee1e ___forwarding___ + 526
4 CoreFoundation 0x000000010d47eb88 _CF_forwarding_prep_0 + 120
5 MySRL 0x000000010796f769 -[MultiLineGraphView getDataFromDataSource] + 1193
6 MySRL 0x000000010796fc0a -[MultiLineGraphView drawGraph] + 170
7 MySRL 0x0000000107890227 -[MyNewGraphViewController viewDidLayoutSubviews] + 119
8 UIKit 0x000000010ad1db1c -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1337
9 QuartzCore 0x000000010a8ffbf8 -[CALayer layoutSublayers] + 146
10 QuartzCore 0x000000010a8f3440 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 366
11 QuartzCore 0x000000010a8f32be _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 24
12 QuartzCore 0x000000010a881318 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 280
13 QuartzCore 0x000000010a8ae3ff _ZN2CA11Transaction6commitEv + 475
14 UIKit 0x000000010ac837f0 _afterCACommitHandler + 346
15 CoreFoundation 0x000000010d49e267 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
16 CoreFoundation 0x000000010d49e1d7 __CFRunLoopDoObservers + 391
17 CoreFoundation 0x000000010d482f8e __CFRunLoopRun + 1198
18 CoreFoundation 0x000000010d482884 CFRunLoopRunSpecific + 420
19 GraphicsServices 0x000000010fb84a6f GSEventRunModal + 161
20 UIKit 0x000000010ac58c68 UIApplicationMain + 159
21 MySRL 0x000000010787bb5f main + 111
22 libdyld.dylib 0x000000010e48168d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Facing same issue. Have you found something to solve this?
mostly we would need to give data for x axis as the func implies,i am also trying to fix this issue
Has anyone solved this yet?
i have,here is my repo,check the MoreInfoViewController.m code i have added https://github.com/akshaynexus/CryptoEye-iOS
What specifically did you add or change? given your implementation of your data is different from mine I cannot see the change you made to fix.
i just gave the data for dataForXAxisWithLineNumber,jsut look at that func and it is self explanatory