You can workaround the limitations of XCPreviewAgent https://developer.apple.com/forums/thread/690415?answerId=689090022#689090022
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: