The declaration of value below
value
import Foundation class AAA: NSObject { func test2() { self.dynamicType } } extension AAA { stat
I had this error too.
My issue was just a static var in a swift extension.
extension NotificationsViewController: UITableViewDataSource , UITableViewDelegate { static var timeIntervalFormatter = NSDateComponentsFormatter() }
Moving it to the class implementation resolved the problem for me.