Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with AVAggregateAssetDownloadTask and 1.1.0 version #242

Open
rlanglo-ds opened this issue Nov 14, 2024 · 3 comments
Open

Error with AVAggregateAssetDownloadTask and 1.1.0 version #242

rlanglo-ds opened this issue Nov 14, 2024 · 3 comments

Comments

@rlanglo-ds
Copy link

Hello

I updated apm-agent-ios from 1.0.5 to 1.1.0 version and I get this error when I try to download a content from my app.

Terminating app due to uncaught exception 'NSGenericException', reason: 'AVAggregateAssetDownloadTask does not support currentRequest property'

I didn't app this error on 1.0.5

Regards

Ronan

@bryce-b
Copy link
Contributor

bryce-b commented Nov 14, 2024

Hi @rlanglo-ds,
Could you provide a few details?

  • Which version of XCode are you using?
  • Are seeing this error targeting iOS or another platform?
  • Could you provide a stacktrace?

@rlanglo-ds
Copy link
Author

Hello @bryce-b

Here are my answers :

  • XCode 15.4
  • Development for iOS platform
  • Stacktrace : Image

@bryce-b
Copy link
Contributor

bryce-b commented Nov 20, 2024

This looks like an issue with the instrumentation in Otel-swift. It looks like this issue was already experienced with another of the AVFoundation's download tasks. I'll add additional checks for the AggregatedAssetDownloadTask. Unfortunately, that means these tasks will need to be manually instrumented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants