title: Cannot invoke initializer for type '' with an argument list of type ''
body: <p>UPDATE: This works in Playground and inside a new project but just not inside my current project:</p>
  
  <blockquote>
    <p>Cannot invoke initializer for type 'User' with an argument list of type '(name: String)'</p>
  </blockquote>
  
  <p>Any ideas as to what is causing this? I'm using Swift 2.0</p>
  
  <pre><code>class User {
      var name: String
      init (name: String) {
          self.name = name
      }
  }
  let user1 = User(name: "User")
  </code></pre>
  
  <p><a href="http://i.stack.imgur.com/Pm4Fk.png" rel="nofollow">http://i.stack.imgur.com/Pm4Fk.png</a></p>