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问题及解决方案。


目录
相关文章
|
7月前
|
iOS开发
拷贝的xcode升级问题及解决方案
拷贝的xcode升级问题及解决方案
55 2
|
7月前
|
iOS开发
XCode控制台调试无法看到函数跟踪或无法看到输出的日志问题及解决方案
XCode控制台调试无法看到函数跟踪或无法看到输出的日志问题及解决方案
320 0
|
7月前
|
iOS开发
XCode10.2.1打开老工程报Multiple commands produce与Info.plis错误
XCode10.2.1打开老工程报Multiple commands produce与Info.plis错误
73 0
|
7月前
|
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
82 0
|
7月前
|
iOS开发
Xcode 10.2.1 Error:Multiple commands produce问题及解决方案
Xcode 10.2.1 Error:Multiple commands produce问题及解决方案
718 0
|
7月前
|
jenkins Unix 持续交付
个人记录jenkins编译ios过程 xcode是9.4.1
个人记录jenkins编译ios过程 xcode是9.4.1
117 2
|
7月前
|
Linux 数据安全/隐私保护 iOS开发
如何使用 Xcode 打包导出 IPA 文件并进行 iOS 应用内测,无需支付苹果开发者账号费用?
如何使用 Xcode 打包导出 IPA 文件并进行 iOS 应用内测,无需支付苹果开发者账号费用?
|
4月前
|
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‘
177 4
|
4月前
|
iOS开发 开发者
解决xcode doesn‘t support iphone’s ios 14.6 (18f72)
解决xcode doesn‘t support iphone’s ios 14.6 (18f72)
293 3
|
4月前
|
iOS开发
mac不通过Xcode直接打开IOS模拟器
mac不通过Xcode直接打开IOS模拟器
250 2