链接器命令失败,退出代码 1 - 重复符号 __TMRbBp [英] Linker command failed with exit code 1 - duplicate symbol __TMRbBp
问题描述
自从我更新到 Xcode 8.1 以来,我无法存档,也无法在发布模式下运行(在调试模式下可以正常工作).错误是有几个架构 arm64 的重复符号",并且都是重复符号 __TMRbBp".那是什么?
Since I've updated to Xcode 8.1 I can't archive and also not run in Release mode (in debug mode its working). The error is that there are several "duplicate symbols for architecture arm64" and all are "duplicate symbol __TMRbBp". Whats that?
推荐答案
这似乎是 Swift 中的一个错误.看关于 Apple 开发者门户的讨论
It seems to be a bug in Swift. See discussion on Apple developers portal
据说在即将发布的Xcode版本中修复.但现在有一个临时的解决方法:
It is said to be fixed in Xcode version that is about to be released. But for now there is temporary workaround:
转到您的目标 Build Settings
并将 Reflection Metadata Level
标志设置为 None
Go to your target Build Settings
and set Reflection Metadata Level
flag to None
这篇关于链接器命令失败,退出代码 1 - 重复符号 __TMRbBp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!