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/)

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • 放一篇之前一直在私人笔记里的参考,也就是个参考手册,用到的时候回来看看。 ‘$’ 作为引用关键字 ex:$PROJ...
    SMThree阅读 9,435评论 0 13
  • 一般我们在xcode里面配置包含工程目录下头文件的时候,都要关联着相对路径和绝对路径,如果只是自己用这个项目,用绝...
    心有琳鑫阅读 14,289评论 0 15
  • 首先如果遇到应用卡顿或者因为内存占用过多时一般使用Instruments里的来进行检测。但对于复杂情况可能就需要用...
    攻克乃还_阅读 6,283评论 0 7
  • XCode使用一:Xcode基本操作 传送至原文地址 1.Xcode IDE概览 说明:从左到右,依次是“导航窗格...
    无名小鱼会吐火阅读 29,927评论 0 23
  • Xcode 工程的环境变量以及Build Settings参数设置 http://www.360doc.com/c...
    liusong007阅读 6,355评论 1 3

友情链接更多精彩内容