ReplayKit Error Code 5804

I’m trying to integrate ReplayKit in our game but I’m getting always the error code 5804.

I’m following the documentation from: Unity - Scripting API: ReplayKit

And I’m testing in a iPhone SE with iOS 11 and I’m developing with Unity 5.6.1.p3 and Xcode version 9 beta 4.

Some ideas about what’s wrong?

All is working fine with iOS 11 new beta version

I’m having the same issue with the GM version of iOS 11.