错误产生转换为 swift 3.0

Errors produce converting to swift 3.0

我试图通过进入 xcode -> 编辑 -> 转换为最新的 swift 版本,将我的项目转换为新版本的 swift。我在尝试转换时遇到以下错误:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1

(null): could not read data from '/Users/DrewGelinas/Desktop/playgroundIOS/BaseballUI1/Test/TestTests/Info.plist': The file “Info.plist” couldn’t be opened because there is no such file.

(null): could not read data from '/Users/DrewGelinas/Desktop/playgroundIOS/BaseballUI1/Test/TestUITests/Info.plist': The file “Info.plist” couldn’t be opened because there is no such file.

我很困惑,因为我没有更改 Info.plist 文件的位置

Select Project navigator 中的项目目标,然后单击 Build Settings - All 选项卡。在打包部分,检查 "Info.plist" 路径是否设置为它在项目结构中的位置。然后做一个干净的构建。

如果不行,请尝试删除您的派生数据并尝试使用上述步骤进行干净构建。