即使没有任何更改,“转换为最新的Swift语法"也会破坏构建 [英] 'Convert to latest Swift Syntax' breaks the build even when there are no changes

查看:99
本文介绍了即使没有任何更改,“转换为最新的Swift语法"也会破坏构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目在Objective-C中,只有一个tableviewcontroller很快.我今天下载了Xcode-beta,这促使我转换为最新的Swift语法".在按照步骤操作后,它表明没有任何更改.我在proj文件中也没有看到任何更改,但是有错误.请注意,当我选择不隐瞒最新的swift语法时,我看不到错误-在这种情况下,应用程序可以正常运行.

My project is in objective-c with just one tableviewcontroller in swift. I downloaded the Xcode-beta today which prompted me to 'Convert to latest Swift Syntax'. After I follow the steps it shows me that there are no changes. I do not see any changes in the proj file either but it has errors. Please note that I do not see the errors when I choose not to covert to latest swift syntax - the app builds and runs fine in this case.

知道为什么它会破裂吗?

Any idea why it is breaking?

这是错误-

  • 无法为应用程序名称"解析调试映射没有这样的文件或目录
  • c:错误:链接器命令失败,退出代码为1(使用-v查看调用)
  • 其他错误是它找不到快速文件.迅捷类是在Objective-C类中发起的.

推荐答案

Product -> Clean对我来说有帮助.

这篇关于即使没有任何更改,“转换为最新的Swift语法"也会破坏构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆