Skip to content

Hi Team, Facing Crash issue DR-Charts #21

@srldiagnostics

Description

@srldiagnostics

I'm facing issues are as follows.

  1. 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:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions