Even though the code is 100% works in the simulator, the preview canvas gets "Cannot preview in this file" error more often. How could I get the issue sorted? The issue is sorted after restarting the xcode several times. I tried to attache the generated report as a zip file, but it does not support to attach.