error: Multiple commands produce '/Users/uesr/Library/Developer/Xcode/DerivedData/OptimalLive-fxatvygbofczeyhjsawtebkimvwx/Build/Products/Debug-iphoneos/OptimalLive.app/Info.plist':
1) Target 'OptimalLive' has copy command from '/Users/uesr/Desktop/workSpace/SEALIVE/SeaLive1.1/OptimalLive/Info.plist' to '/Users/uesr/Library/Developer/Xcode/DerivedData/OptimalLive-fxatvygbofczeyhjsawtebkimvwx/Build/Products/Debug-iphoneos/OptimalLive.app/Info.plist'
2) Target 'OptimalLive' has copy command from '/Users/uesr/Desktop/workSpace/SEALIVE/SeaLive1.1/OptimalLive/Server/Masonry/Info.plist' to '/Users/uesr/Library/Developer/Xcode/DerivedData/OptimalLive-fxatvygbofczeyhjsawtebkimvwx/Build/Products/Debug-iphoneos/OptimalLive.app/Info.plist'
3) Target 'OptimalLive' has process command with input '/Users/uesr/Desktop/workSpace/SEALIVE/SeaLive1.1/OptimalLive/Info.plist'
在Xcode 9中运行代码正常,但在Xcode 10中有一个错误。
这里也一样,但这是2020年5月的最新解决方案
它看起来像一个bug或一些新的Xcode版本的新问题。
错误响应为:
创建iOS项目失败。我们运行“xcodebuild”命令,但它退出了错误代码65。
详细的回应:
构建系统信息
错误:多个命令产生'/path/of/the/project/ios/build/NameOfTheProject/ build/ Products/ debug - iphoneonessimulator /NameOfTheProject.app/ zcial .ttf':
1)目标'NameOfTheProject'(项目'NameOfTheProject')有从'/path/of/the/project/NameOfTheProject/node_modules/react-native-vector-icons/Fonts/ zcial .ttf'复制命令到'/path/of/the/project/NameOfTheProject/ios/build/NameOfTheProject/ build/ Products/Debug-iphonesimulator/ namoftheproject .app/ zcial .ttf'
2)该命令取决于目标“项目名称”(项目“项目名称”)中的命令:脚本阶段“[CP]复制Pods资源”
构建系统信息
错误:多个命令产生'/path/of/the/project/ios/build/NameOfTheProject/ build/ Products/ debug - iphoneonesemulator /NameOfTheProject.app/SimpleLineIcons.ttf':
1)目标'NameOfTheProject'(项目'NameOfTheProject')有复制命令从'/path/of/the/project/NameOfTheProject/node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf'到'/path/of/the/project/NameOfTheProject/ios/build/NameOfTheProject/ build/ Products/ debug -iphone emulator /NameOfTheProject.app/SimpleLineIcons.ttf'
2)该命令取决于目标“项目名称”(项目“项目名称”)中的命令:脚本阶段“[CP]复制Pods资源”
...
对于库使用的每个.ttf文件重复该响应。
我不得不临时取消react-native的链接,重新构建项目,但是没有图标。