RobertGummesson / BuildTimeAnalyzer-for-Xcode

Build Time Analyzer for Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Error on XCode 7.2, swift 2.1.1

cakl opened this issue · comments

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)

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?

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