cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iOS Application crashes when AppDynamicsAgent trying to retrieve value from AVAssetDownloadTask

Tianran.Ding
New Poster

Hi guys,

 

We noticed multiple crashes at our AppDynamics web console. It happens when our app about to finishe video asset downloading, specifically this line:

[ADEumNSURLSessionNetworkRequest recordEndAndReportWithTask:error:]

 

Screen Shot 2019-02-13 at 13.36.20.png

 

It is pretty straightforward that EUM SDK was trying to put hands on the AVAssetDownloadTask object to record "response" from it, which doesn't supported and this could crash the app eventually.

 

Screen Shot 2019-02-13 at 13.43.44.png

 

Of course, AVAssetDownloadTask is the subclass of NSURLSessionTask but according to Apple docs explicitly, the request properties ARE NOT AVAILABLE! and there are even no means to try to catch the exception.

 

it happens on AppDynamicsAgent (45.6.1494)

device: iOS 12.0

 

Please fix that.

 

Regards,

TD

1 REPLY 1

Craig.Millard
AppDynamics Team

A fix for this has been released for version Version 50.0.1512 – under MRUM-4480
https://docs.appdynamics.com/display/PRO45/Mobile+Real+User+Monitoring+Notes