Widgets not working with TestFlight since Xcode 12.4

Hi,
I just published my application to TestFlight. I faced the problem, that widgets are not working properly on tested device. They are in the list of widgets, but are empty (shadow places instead of real values).
On my phone and also in simulator everything works properly.
I tried all ideas, but the problem is still keeping.
Appreciate any help..
I am having the same problem, but It can happen on my phone if if I build for release instead of debug as well. Maybe this will help someone figure out the solution?
Hello, thanks for reply. Would You give me more information? I am with Xcode and I am not sure what You mean?
You can change the build config in your scheme target to release and get behavior that should match test-flight in most cases.

I found that the reason mine was not working was the entitlements were not the same across debug and release and snapshots were actually crashing.

https://developer.apple.com/library/archive/documentation/ToolsLanguages/Conceptual/Xcode_Overview/ManagingSchemes.html
Hello, thank You for helping. I changed Archive scheme from Release to Debug and widgets are working on tested devices in TestFlight.
My question is, if Widgets will work properly when I will publish app to AppStore in Release scheme? I am afraid what will happened.


Hello. Did you manage to check it on the release scheme in the app store? Thanks

Widgets not working with TestFlight since Xcode 12.4
 
 
Q