RobertGummesson / BuildTimeAnalyzer-for-Xcode

Build Time Analyzer for Swift
MIT License
4.3k stars 260 forks source link

Build Error on XCode 7.2, swift 2.1.1 #44

Closed cakl closed 8 years ago

cakl commented 8 years ago

An error occurs at CMXcodeWorkspace.swift L126: Instance member valueForKey cannot be used on type AnyObject:

private static func workspaceWindowControllers() -> [AnyObject]? { guard let windowController = NSClassFromString("IDEWorkspaceWindowController") else { return nil } return windowController.valueForKey("workspaceWindowControllers") as? [AnyObject] }

XCode 7.2, Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81)

RobertGummesson commented 8 years ago

Hmmm... I haven't seen or heard about that issue before. On Xcode 7.3.1 it compiles just fine. Is upgrading your Xcode an option?

RobertGummesson commented 8 years ago

Closing this one since #45 will turn this into a standalone app. I will not longer maintain the plug-in.