title: Unknown class XXXXX in Interface Builder file
body: <p>I wrote two swift files.</p>
  
  <pre><code>// ViewController.swift
  import UIKit
  
  class ViewController: UIViewController {
  
      override func viewDidLoad() {
          super.viewDidLoad()
      }
  
      override func didReceiveMemoryWarning() {
          super.didReceiveMemoryWarning()
      }
  }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>// ViewController2.swift
  import UIKit
  
  class ViewController2: UIViewController {
  
      override func viewDidLoad() {
          super.viewDidLoad()
      }
  
      override func didReceiveMemoryWarning() {
          super.didReceiveMemoryWarning()
      }
  }
  </code></pre>
  
  <p>My <code>Main.storyboard</code> looks like this.</p>
  
  <p><a href="https://i.stack.imgur.com/8IEkk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8IEkk.png" alt="Main.storyboard"></a></p>
  
  <p>When I run these programs, I get </p>
  
  <pre><code>2015-11-14 01:17:46.705 hoge[23606:1084831] Unknown class ViewController in Interface Builder file.
  2015-11-14 01:17:49.311 hoge[23606:1084831] Unknown class ViewController2 in Interface Builder file.
  </code></pre>
  
  <p>How can I solve them?
  Source codes are <a href="https://github.com/ky0on/SwiftTest" rel="nofollow noreferrer">here</a>.</p>
  
  <p>I'm using XCode Version 7.1.1 (7B1005).</p>
  
  <hr>
  
  <p>SOLVED: I moved the directory to <code>~/Desktop</code>, and finally it runs. Very strange... </p>
  
  <p>The same issue reported in <a href="https://stackoverflow.com/questions/26817036/unknown-class-in-interface-builder-file-xcode-6-and-swift">Unknown class in Interface Builder file. Xcode 6 and Swift</a></p>