IOS错误诊断之-linker command failed with exit code 1
2015-11-04 17:09
471 查看
Xcode最近升级后发现此前所有的项目都无法编译了,报错情况不一,
有些为:
-fembed-bitcode is not supported on versions of iOS prior to 6.0
有些为:
linker command failed with exit code 1
经过反复尝试,找到了问题的解决办法。
解决方法:选择项目文件,从右侧选择“Build Settings”标签,在构建设置的长长的列表中找到“Build Options”--〉“Enable Bitcode”,将其从YES改为NO。也可以在搜索位置输入Bitcode,Xcode会自动列出“Enable Bitcode”选项,将其从YES改为NO。
有些为:
-fembed-bitcode is not supported on versions of iOS prior to 6.0
有些为:
linker command failed with exit code 1
经过反复尝试,找到了问题的解决办法。
解决方法:选择项目文件,从右侧选择“Build Settings”标签,在构建设置的长长的列表中找到“Build Options”--〉“Enable Bitcode”,将其从YES改为NO。也可以在搜索位置输入Bitcode,Xcode会自动列出“Enable Bitcode”选项,将其从YES改为NO。
相关文章推荐
- 关于duplicate symbol _base64_encode错误
- 使用SVN clang: error: linker command failed with exit code 1 (use -v to see invocation)
- iOS报错:linker command failed with exit code 1 (use -v to see invocation)
- bitcode的问题
- Linker command failed with exit code 1(use -v to see invocation)
- Xcode 8.3 linker command failed with exit code 1
- -fembed-bitcode is not supported on versions of iOS prior to 6.0
- 添加bitcode的支持:iOS App,App Extension以及Watch App
- linker command failed with exit code 1
- 出现( linker command failed with exit code 1)错误总结
- 使用JChat报错
- iOS程序运行时_OBJC_CLASS_错误以及线程错误
- iOS 更新xcode8.3项目报错的问题
- 连接常见错误linker command failed with exit code 1 (use -v to see invocation)
- linker command failed with exit code 1 (use -v to see invocation)
- "_OBJC_CLASS_$_WKWebView", referenced from:"...and "linker command failed with exit code 1 (use -v "
- duplicate symbol _OBJC_CLASS_$_XXX in
- 真机调试出现: linker command failed with exit code 1 (use -v to see invocation)
- You Must Rebuild It With Bitcode Enabled (Xcode Setting ENABLE_BITCODE) 解决方案
- Architectures、Valid Architectures和Build Active Architecture Only