Xcode 10 使用中问题总结

主要有两个问题 一个是info.plist冲突, 一个是缺少-lstdc++.6.0.9,解决版本如下:

问题1:

Showing All Messages
:-1: Multiple commands produce '/Users/fang/Library/Developer/Xcode/DerivedData/GuSuiEr-erlsjsktlnyflhdvehpjvbxfxjeb/Build/Products/Debug-iphonesimulator/GuSuiEr.app/Info.plist':

  1. Target 'GuSuiEr' (project 'GuSuiEr') has copy command from '/Users/fang/Documents/GuSuiEr/GuSuiEr/SupportingFiles/Info.plist' to '/Users/fang/Library/Developer/Xcode/DerivedData/GuSuiEr-erlsjsktlnyflhdvehpjvbxfxjeb/Build/Products/Debug-iphonesimulator/GuSuiEr.app/Info.plist'
  2. Target 'GuSuiEr' (project 'GuSuiEr') has process command with output '/Users/fang/Library/Developer/Xcode/DerivedData/GuSuiEr-erlsjsktlnyflhdvehpjvbxfxjeb/Build/Products/Debug-iphonesimulator/GuSuiEr.app/Info.plist'

解决办法: file->workspace settings ->build system

屏幕快照 2018-09-19 下午1.34.23.png

问题2

ld: library not found for -lstdc++.6.0.9
clang: error: linker command failed with exit code 1 (use -v to see invocation)

解决办法:拷贝xcode 9 下的 libstdc++6.0.9 到xcode 10的目录下 (Xcode显示包内容 Contents/Developer/Platforms/iPhoneOS.platform(模拟器下运行:iPhoneSimulator.platform)/Developer/SDKs/iPhoneOS.sdk/usr/lib/)

你可能感兴趣的:(Xcode 10 使用中问题总结)