我刚刚更新到 Xcode 8 和 Alamofire 4.0,我遇到了一些奇怪的错误。第一个是一堆错误,如下所示:
... warning: Missing file: ... is missing from working copy
这适用于 Download.swift、Manager.swift、Stream.swift、Upload.swift 和 Error.swift。如何解决这个问题?
此外,我得到了这个,只用于 alamofire,不用于我的任何其他库:
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
当我尝试转换它时,我得到了
Could not find test host for FieldSenseAppTests: TEST_HOST evaluates to ..."
最佳答案
关于ios - Alamofire 和 Swift 3 的更新,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39528674/