【发布时间】:2018-12-06 20:09:27
【问题描述】:
我正在开发一个 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'
我尝试了this post 的解决方案,但没有奏效。 提供的任何帮助表示赞赏。谢谢!
【问题讨论】:
-
对我来说,这篇文章没有任何效果。我删除了信息文件,在构建设置中正确重命名和映射 - 现在工作正常。希望这对您有所帮助。
-
另一种解决方案,尤其是针对 pod 文件的情况 - 解构和安装 pod:在“终端”
$ cd path/to/project_toot然后$ pod deintegrate和$ pod install中执行命令。
标签: ios xcode xcode10 ios12 tlyshynavbar