0

I have got a project from a company to develop where the original developers left.
Project details:

  • carthage for dependancy management
  • Pivotal Cedar, Quick and Nimble for test case project

The project was developed in Swift 2.0.
I converted the project to swift 3 in Xcode 8. The main target (main app) is converted properly and is getting compiled and run on the device.
But the Test case target has compilation errors.
Could't figure out the problem. Please helpenter image description here

import Foundation

protocol SessionManager {
    var token: String? { get set }
    var selectedContract: String? { get set }
    var contracts: [String] { get set }
}

class LoginSessionManager: SessionManager {
    var token: String?
    var selectedContract: String?
    var contracts: [String] = []
}
shoan
  • 1,303
  • 15
  • 22

0 Answers0