title: get output frames failed, state 8196
body: <p>When I try to customise a tableView cell, I found this error.</p>
  
  <blockquote>
    <p>"Get output frames failed, state 8196"</p>
  </blockquote>
  
  <p>I just have no idea it is the error from realm or from my customise tableView cell.</p>
  
  <pre><code>class StudentTableViewController: UITableViewController {
  
      let realm = try! Realm()
      var student: Results&lt;StudentName&gt;?
      var selectedClass: ClassName? {
          didSet {
              load()
          }
      }
      var selected: String = ""
  
      override func viewDidLoad() {
          super.viewDidLoad()
          navigationController?.title = selected
          tableView.register(StudentTableViewCell.self, forCellReuseIdentifier: "studentName")
      }
  
      override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
          return student?.count ?? 1
      }
  
      override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
          let cell = tableView.dequeueReusableCell(withIdentifier: "studentName", for: indexPath) as! StudentTableViewCell
          cell.name.text = student?[indexPath.row].name ?? "There are no student in this class"
          cell.number.text = "\(student?[indexPath.row].studentNumber ?? 0)"
          return cell
      }
      func load() {
          student = selectedClass?.studentNames.sorted(byKeyPath: "studentNumber", ascending: true)
          tableView.reloadData()
      }
  }
  </code></pre>
  
  <p>I think it did work when I am using Xcode 9 and Swift 4.1 but now in Xcode 10 it doesn't since it only show me this error and whole blank page of table view.</p>