 import XCGLogger
 import ObserverSet
 
-/// Represents the user’s chosen platform to build for.
-public enum BuildPlatform {
-    /// Build for all available platforms.
-    case All
-    
-    /// Build only for iOS.
-    case iOS
-    
-    /// Build only for OS X.
-    case Mac
-    
-    /// Build only for watchOS.
-    case watchOS
-    
-    /// The `Platform` corresponding to this setting.
-    public var platform: Platform? {
-        switch self {
-        case .All:
-            return nil
-            
-        case .iOS:
-            return .iOS
-            
-        case .Mac:
-            return .Mac
-            
-        case .watchOS:
-            return .watchOS
-        }
-    }
-}
-
 // MARK: Delegate Protocol
 protocol CartfileUpdateControllerDelegate: class {
     var changeNotifier: ObserverSet<CWCartfile> { get }

    }
    
    private func buildJobs(jobs: [SignalProducer<TaskEvent<(ProjectLocator, String)>, CarthageError>]) -> Disposable {
        var completedJobs = 0
        return SignalProducer(values: jobs)
            |> flatMap(.Concat) { job in

    
    func start() {
        self.currentOperation = self.updateCartfileProject(self.project)
    }
    
    func cancel() {
