Skip to content

Sentry Replay Crash #6232

@denrase

Description

@denrase

Platform

iOS

Environment

Develop

Installed

Swift Package Manager

Version

8.56.0

Xcode Version

26.0 (17A324)

Did it work on previous versions?

Didn't try

Steps to Reproduce

  1. Install Pocket Casts App

Change provisioning profiles so we can install on device.

  1. Setup Sentry with Wizzard
npx @sentry/wizard
  1. Enable Replay
options.sessionReplay.sessionSampleRate = 1.0
options.sessionReplay.onErrorSampleRate = 1.0
  1. Launch and use app on device (iPhone X iOS 16.7.12

Expected Result

Replay recorded while using app.

Actual Result

App crashes

2025-09-22 14:28:04.386952+0200 podcasts[817:38564] -[Sentry.SentryReplayRecording data]: unrecognized selector sent to instance 0x282e67a80
2025-09-22 14:28:04.389405+0200 podcasts[817:38564] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[Sentry.SentryReplayRecording data]: unrecognized selector sent to instance 0x282e67a80'
*** First throw call stack:

(0x1a5ded40c 0x19f0c9c28 0x1a5f4e400 0x1a5e028b8 0x1a5e648fc 0x10bb20274 0x10bb1f898 0x10bb1ff1c 0x10ba21c80 0x10ba45148 0x10ba9d318 0x10baffb84 0x10baff3e8 0x10baff100 0x10baff260 0x10bb26fd0 0x10bb26d78 0x109fd899c 0x10ba1b9ac 0x1057bbf08 0x1057bd7a0 0x1057c48e4 0x1057c5584 0x1057d10ac 0x1f0b92bd0 0x1f0b92720)
libc++abi: terminating due to uncaught exception of type NSException

Sentry Issue

https://denrase.sentry.io/issues/6894361602/?project=4505985567162368&query=is%3Aunresolved&referrer=issue-stream

Are you willing to submit a PR?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions