1.error: Multiple commands produce?
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'
解決方法:
In Xcode, go to File->Project/Workspace settings.
Change the build system to Legacy Build system.
并沒有真正解決問題 而是設(shè)置了忽略
2 ?library not found for -lstdc++.6
xcode10 ios12已經(jīng)徹底沒有這個lib了
直接去xcode9找到這-lstdc++.6.0.9 添加進去
?真機運行庫
在終端輸入以下命令打開Xcode的lib庫目錄(此目錄位安裝的默認目錄)
open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib
如果安裝在其他目錄 或者Xcode改名的建議右鍵Xcode顯示報內(nèi)容垄懂,進入
Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib
把剛剛下載的zip文件解壓
獲取到的 真機的 libstdc++.6.0.9.tbd 文件骑晶,扔進去
模擬器運行庫
在終端輸入以下命令打開Xcode的lib庫目錄(此目錄位安裝的默認目錄)
open? /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib
如果安裝在其他目錄 或者Xcode改名的建議右鍵Xcode顯示報內(nèi)容,進入
Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib????????????????
然后
復(fù)制一?份libstdc++.6.0.9.tbz 重命名為?libstdc++.6 兩個都保留在路徑中
運行項目就ok了草慧。
[**百度云鏈接:stdc++.6.0.9**](https://pan.baidu.com/s/1zCagMy42HGPdZj8XMfOf_Q)