Xcode10.0升级笔记
错误一:Multiple commands produce
- Showing All Messages
- :-1: Multiple commands produce '/Users/fe/Library/Developer/Xcode/DerivedData/FEiPhoneWorkSpace-epgntipzlfatgibvabfoxkgplszg/Build/Products/Debug-iphoneos/FeOAClient.app/Info.plist':
- 1) Target 'FeOAClient' (project 'FeOAClient') has copy command from '/Users/fe/Desktop/SVN工作空间/京通项目/FeOAClient/FEShareLib/FBKVOController/Info.plist' to '/Users/fe/Library/Developer/Xcode/DerivedData/FEiPhoneWorkSpace-epgntipzlfatgibvabfoxkgplszg/Build/Products/Debug-iphoneos/FeOAClient.app/Info.plist'
- 2) Target 'FeOAClient' (project 'FeOAClient') has copy command from '/Users/fe/Desktop/SVN工作空间/京通项目/FeOAClient/SSKeychain/Info.plist' to '/Users/fe/Library/Developer/Xcode/DerivedData/FEiPhoneWorkSpace-epgntipzlfatgibvabfoxkgplszg/Build/Products/Debug-iphoneos/FeOAClient.app/Info.plist'
- 3) Target 'FeOAClient' (project 'FeOAClient') has process command with output '/Users/fe/Library/Developer/Xcode/DerivedData/FEiPhoneWorkSpace-epgntipzlfatgibvabfoxkgplszg/Build/Products/Debug-iphoneos/FeOAClient.app/Info.plist'
编译器升级造成的问题,可以使用旧编译器简单的处理该问题。如下图:
错误二:ld: library not found for -lstdc++.6.0.9
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Xcode10.0sdk 中移除了 lstdc++.6.0.9,如果项目或者第三方框架使用到就会报该错误。
解决办法,下载 lstdc++.6.0.9库 拖入工程即可,如下图: