2 min read
AVPlayerLooper crashes if you replace it too early. Your code won't be in the stack.
One of our top iOS crashes had no frame of ours in the stack trace. AVPlayerLooper finishes its setup after init returns, and replacing it before that runs crashes the app. The fix is one line.