多个命令产生错误 xcode 10

Multiple commands produced error xcode 10

我正在开发 iOS 应用程序。它在 Xcode 9.4.1 中运行良好,但是当我在 Xcode 10 中构建它时,出现以下错误:

:-1: Multiple commands produce '/Users/.../Library/Developer/Xcode/DerivedData/.../Build/Products/Dev-iphonesimulator/TLYShyNavBar/TLYShyNavBar.framework/Info.plist':
1) Target 'TLYShyNavBar' has copy command from '/Users/.../Desktop/Workspace/iOS/.../Pods/TLYShyNavBar/TLYShyNavBar/Info.plist' to '/Users/.../Library/Developer/Xcode/DerivedData/.../Build/Products/Dev-iphonesimulator/TLYShyNavBar/TLYShyNavBar.framework/Info.plist'
2) Target 'TLYShyNavBar' has process command with input '/Users/.../Desktop/Workspace/iOS/.../Pods/Target Support Files/TLYShyNavBar/Info.plist'

我尝试了 中的解决方案,但它们没有用。 提供的任何帮助表示赞赏。谢谢!

我找到了这个构建错误的解决方案,对于 Xcode 10 构建系统有同样问题的其他人,请按照以下步骤修复它:

  1. In Xcode, go to File->Project/Workspace settings.
  2. Change the build system to Legacy Build system.

它将解决新 Xcode 10.

的构建问题

如果您想使用新的构建系统,那么您可以找到故障排除帮助 from this apple Xcode help page

Edit:

I was able to resolve the issue with the new Xcode build system by removing the duplicate info.plist from the Pod by following steps:

Solution - Open target > Build phase > Copy Bundle Resource/Compile Sources > removed info.plist from here