报错 - Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lex failed with exit code 1
这里有两种情况:
第一种是某xxx.m文件不存在或路径不对,而且里面有5.1什么的
解决方法如下:
在Build Phases-->Complie Sources中找到有两个xxx.m文件,一个正常,一个标红了xxx.m,只要把标红的丢失文件删除掉就行了。
第二种是,里面有4.1什么的
解决方法如下:
在Build Settings 中,
将Apple LLVM compiler 4.1 - Language 中的
c++Standard Library 修改为 
libstdc++(GNU C++ standard library)
报错 - Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lex failed with exit code 1的更多相关文章
- xcode报错:Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/b
		今天使用xcode编译工程发现一个问题,这里记录一下防止忘记 xcode报错: Command /Applications/Xcode.app/Contents/Developer/Toolchain ... 
- iOS开发之--png图片编译时报错 (Command /Applications/Xcode.app/Contents/Developer/usr/bin/copypng failed with exit code 1 )
		编译或者运行APP的时候,老是报这个错误:Command /Applications/Xcode.app/Contents/Developer/usr/bin/copypng failed with ... 
- 执行config文件时,config.log中报错xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist, use xcode-select to change
		执行 sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer 即可解决. 
- Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibr
		网上找了一大堆,没有解决的办法 ,主要是iOS10的适配问题,info.plist里没有加对. 访问相册,我只加了 <!-- 相册 --> <key>NSPhotoLibrar ... 
- active developer path  ("/Applications/Xcode.app/Contents/Developer")
		-> git xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer" ... 
- fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Dev
		类似这样的错误: fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.pla ... 
- xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer)解决办法
		背景 mac下卸载了xcode,使用git等命令时就提示错误.invalid active path(Applications/Xcode.app/Contents/Developer),这种情况可以 ... 
- xcode 运行报错 Command /usr/bin/codesign failed with exit code 1
		因为更换了证书,导致在运行时报错 Command /usr/bin/codesign failed with exit code 1,查看了网上各种方法,最后发现以下两个值没有同步更新 
- 关于"Command /usr/bin/codesign failed with exit code 1"的解决办法
		今天当码农的时候,xcode爆出"Command /usr/bin/codesign failed with exit code 1"这样一个错 当时以为是授权文件设置不正确的问题 ... 
随机推荐
- LazyLoad.js及scrollLoading.js
			http://blog.csdn.net/ning109314/article/details/7042829 目前图片延迟加载主要分两大块,一是触发加载(根据滚动条位置加载图片):二是自动预加载(加 ... 
- CentOS6系升级Python2.7版本
			安装前准备 本实例以CentOS6.7为例 [root@E tools]# uname -r 2.6.32-431.23.3.el6.x86_64 [root@E tools]# uname -m x ... 
- Unity3D客户端和Java服务端使用Protobuf
			转自:http://blog.csdn.net/kakashi8841/article/details/17334493 前几天有位网友问我关于Unity3D里面使用Protobuf的方法,一时有事拖 ... 
- session会话复制
			前几天请教了Yoda大神关于会话复制方面的问题, 如果客户访问是两个服务器的东西,这样会有两个分别的session, 这两个session之间怎么交互,集群环境下,同构的服务器,专业术语 ... 
- python解释器快捷键
			13. 交互式输入的编辑和历史记录 某些版本的 Python 解释器支持编辑当前的输入行和历史记录,类似于在 Korn shell 和 GNU Bash shell 中看到的功能.这是使用GNU Re ... 
- linux kernel 字符设备详解
			有关Linux kernel 字符设备分析: 参考:http://blog.jobbole.com/86531/ 一.linux kernel 将设备分为3大类,字符设备,块设备,网络设备. 字符设备 ... 
- map的4种遍历方式
			System.out.println("key= "+ key + " and value= " + map.get(key)); } ... 
- PyQt4关闭最大化最小化取消双击最大化
			self.setWindowFlags(Qt.Window | Qt.WindowTitleHint | Qt.WindowCloseButtonHint | Qt.CustomizeWindowHi ... 
- 安装完eos出的问题
			Failed to load JavaHL Library.These are the errors that were encountered:no msvcp100 in java.library ... 
- 《oracle每日一练》oracle截取字符的函数
			转载 在Oracle中 可以使用instr函数对某个字符串进行判断,判断其是否含有指定的字符. 在一个字符串中查找指定的字符,返回被查找到的指定的字符的位置. 语法: instr(sourceStri ... 
