'React-native codepush doesn't work on iOS in release mode

I am using react-native-code-push 7.0.4 version and it works on android. I have followed all the steps but I have some issue on iOS (tvos) :

When I run the app in release mode on Xcode, I see the update dialog and the bundle is updated. When I push the app to TestFlight, I get the update dialog too but the bundle isn't update.

How can I get logs to see what's going on in release mode on TestFlight ?


UPDATE

Hello,

I got more details when I run the app in Release mode on the Apple TV

[javascript] [CodePush] Downloading package.
[javascript] [CodePush] An unknown error occurred.
[javascript] [CodePush] You don’t have permission to save the file “CodePush” in the folder “Application Support”.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source