I solved the issue. There was a bug where in some cases the app group was not populated correctly and this caused the widget to appear as a placeholder.
Very funny bug and the logs and error logs showed no indication on what the issue was.
I hope this helps someone.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: