Xcode 10 Error:Multiple commands produce问题及解决方案

简介: Xcode 10 Error:Multiple commands produce问题及解决方案

删除/Users/jiaguoshang/Desktop/WeChatAuction/ArtEnjoymentWeChatAuction/lib/UXBadgeView/LICENSE文件夹下的README.md和LICENSE文件。

删除/Users/jiaguoshang/Desktop/WeChatAuction/ArtEnjoymentWeChatAuction/lib/YXQRCodeScan文件夹下的README.md和LICENSE文件。

看到这个问题我首先问度娘,结果试了几种方法都和我的问题不一致。看来只能自立更生艰苦奋斗了。

首先我想删除/Users/jiaguoshang/Library/Developer/Xcode/DerivedData文件夹下的以ArtEnjoymentWeChatAuction-开头的文件夹及子文件夹,然后Clean Build Folder,最有运行工程,仍旧以失败告终。

我删除/Users/jiaguoshang/Desktop/WeChatAuction/ArtEnjoymentWeChatAuction/lib/UXBadgeView和/Users/jiaguoshang/Desktop/WeChatAuction/ArtEnjoymentWeChatAuction/lib/YXQRCodeScan文件夹下的README.md文件。运行工程,发现第一条错误没有了,有门。我再删除/Users/jiaguoshang/Desktop/WeChatAuction/ArtEnjoymentWeChatAuction/lib/UXBadgeView和/Users/jiaguoshang/Desktop/WeChatAuction/ArtEnjoymentWeChatAuction/lib/YXQRCodeScan文件夹下的LICENSE文件。运行工程,没有编译错误了。问题解决了。

只所以出现这个问题是因为我从其它的项目拷贝一个公用组件到我的工程导致的。

Showing All Messages
:-1: Multiple commands produce '/Users/jiaguoshang/Library/Developer/Xcode/DerivedData/ArtEnjoymentWeChatAuction-dfhwtnzqynfayrhhwndwbdbugvap/Build/Products/Debug-iphoneos/ArtEnjoymentWeChatAuction.app/README.md':
1) Target 'ArtEnjoymentWeChatAuction' (project 'ArtEnjoymentWeChatAuction') has copy command from '/Users/jiaguoshang/Desktop/WeChatAuction/ArtEnjoymentWeChatAuction/lib/UXBadgeView/README.md' to '/Users/jiaguoshang/Library/Developer/Xcode/DerivedData/ArtEnjoymentWeChatAuction-dfhwtnzqynfayrhhwndwbdbugvap/Build/Products/Debug-iphoneos/ArtEnjoymentWeChatAuction.app/README.md'
2) Target 'ArtEnjoymentWeChatAuction' (project 'ArtEnjoymentWeChatAuction') has copy command from '/Users/jiaguoshang/Desktop/WeChatAuction/ArtEnjoymentWeChatAuction/lib/YXQRCodeScan/README.md' to '/Users/jiaguoshang/Library/Developer/Xcode/DerivedData/ArtEnjoymentWeChatAuction-dfhwtnzqynfayrhhwndwbdbugvap/Build/Products/Debug-iphoneos/ArtEnjoymentWeChatAuction.app/README.md'

Showing All Messages
:-1: Multiple commands produce '/Users/jiaguoshang/Library/Developer/Xcode/DerivedData/ArtEnjoymentWeChatAuction-dfhwtnzqynfayrhhwndwbdbugvap/Build/Products/Debug-iphoneos/ArtEnjoymentWeChatAuction.app/LICENSE':
1) Target 'ArtEnjoymentWeChatAuction' (project 'ArtEnjoymentWeChatAuction') has copy command from '/Users/jiaguoshang/Desktop/WeChatAuction/ArtEnjoymentWeChatAuction/lib/UXBadgeView/LICENSE' to '/Users/jiaguoshang/Library/Developer/Xcode/DerivedData/ArtEnjoymentWeChatAuction-dfhwtnzqynfayrhhwndwbdbugvap/Build/Products/Debug-iphoneos/ArtEnjoymentWeChatAuction.app/LICENSE'
2) Target 'ArtEnjoymentWeChatAuction' (project 'ArtEnjoymentWeChatAuction') has copy command from '/Users/jiaguoshang/Desktop/WeChatAuction/ArtEnjoymentWeChatAuction/lib/YXQRCodeScan/LICENSE' to '/Users/jiaguoshang/Library/Developer/Xcode/DerivedData/ArtEnjoymentWeChatAuction-dfhwtnzqynfayrhhwndwbdbugvap/Build/Products/Debug-iphoneos/ArtEnjoymentWeChatAuction.app/LICENSE'

其它问题见:《升级Xcode 10后遇到的问题》。

Xcode 10.2.1 Error:Multiple commands produce问题及解决方案。


目录
相关文章
|
6月前
|
iOS开发
拷贝的xcode升级问题及解决方案
拷贝的xcode升级问题及解决方案
44 2
|
6月前
|
iOS开发
XCode控制台调试无法看到函数跟踪或无法看到输出的日志问题及解决方案
XCode控制台调试无法看到函数跟踪或无法看到输出的日志问题及解决方案
249 0
|
6月前
|
iOS开发
XCode10.2.1打开老工程报Multiple commands produce与Info.plis错误
XCode10.2.1打开老工程报Multiple commands produce与Info.plis错误
50 0
|
6月前
|
iOS开发 Perl
Xcode 10.2.1 Error:library not found for -lstdc++.6.0.9
Xcode 10.2.1 Error:library not found for -lstdc++.6.0.9
53 0
|
6月前
|
iOS开发
Xcode 10.2.1 Error:Multiple commands produce问题及解决方案
Xcode 10.2.1 Error:Multiple commands produce问题及解决方案
494 0
|
6月前
|
jenkins Unix 持续交付
个人记录jenkins编译ios过程 xcode是9.4.1
个人记录jenkins编译ios过程 xcode是9.4.1
85 2
|
6月前
|
Linux 数据安全/隐私保护 iOS开发
如何使用 Xcode 打包导出 IPA 文件并进行 iOS 应用内测,无需支付苹果开发者账号费用?
如何使用 Xcode 打包导出 IPA 文件并进行 iOS 应用内测,无需支付苹果开发者账号费用?
|
3月前
|
iOS开发 MacOS Perl
解决Xcode运行IOS报错:redefinition of module ‘Firebase‘和could not build module ‘CoreFoundation‘
解决Xcode运行IOS报错:redefinition of module ‘Firebase‘和could not build module ‘CoreFoundation‘
126 4
|
3月前
|
iOS开发 开发者
解决xcode doesn‘t support iphone’s ios 14.6 (18f72)
解决xcode doesn‘t support iphone’s ios 14.6 (18f72)
225 3
|
3月前
|
缓存 iOS开发
如何在Xcode删除某个版本的IOS模拟器
如何在Xcode删除某个版本的IOS模拟器
464 1