I can use App Groups and UserDefaults with Widgets perfectly on the simulator and on the iPhone (as Simulator). But as soon as I publish the App on TestFlight, the Data disappears. Nothing is saved in UserDefaults and I do not get the Widgets Data... Nevertheless, on the simulator it works perfectly! What am I doing wrong? Please help!
Thanks