Xcode错误细节:
Convert to Current Swift Syntax Failed Please ensure that all selected targets build successfully with the currently configured Swift version before attempting a migration.
Convert to Current Swift Syntax Failed
Please ensure that all selected targets build successfully with the currently configured Swift version before attempting a migration.
有任何人在将代码库升级到swift 4时遇到类似的错误.
我发现CocoaPods是个问题.
>我从我的项目中删除了CocoaPods(如果你不知道怎么做,请查看这个How to remove CocoaPods from a project?)>别忘了如果你有单位& ui测试你必须从它们上面的链接重复第4步.>将代码库升级到Swift 4>再次安装pod,你就完成了.
希望能帮助到你 :)