You need a UIView of a UIViewController, don't you ? So you can basically import UIKit in place of the whole app.
expr -l Swift -- import UIKit
expr -l Swift -- let $vc = unsafeBitCast(0x3daf26c078d8, UIViewController.self)
expr -l Swift -- print($vc.view)