加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ios – Apple LLVM编译器错误4.1

发布时间:2020-12-14 18:06:02 所属栏目:百科 来源:网络整理
导读:所以,我碰巧移动了一些文件夹,突然间我的项目认为它很酷,只是喜欢,而不是工作.有人可以告诉我如何解决这个错误? (编译irl iphone时出错.) 短错误: clang: error: no such file or directory: '/Users/OscarApeland/Downloads/LNG Converter 2/LNG Converte
所以,我碰巧移动了一些文件夹,突然间我的项目认为它很酷,只是喜欢,而不是工作.有人可以告诉我如何解决这个错误? (编译irl iphone时出错.)

短错误:

clang: error: no such file or directory: '/Users/OscarApeland/Downloads/LNG Converter 2/LNG Converter/LNG Converter/LNG Converter-Prefix.pch'
clang: error: no input files
Command/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

完整错误:

ProcessPCH "/Users/OscarApeland/Library/Developer/Xcode/DerivedData/LNG_Converter-fhuumyzhzihyzkcrahggbbgzeijr/Build/Intermediates/PrecompiledHeaders/LNG Converter-Prefix-chblhzzekvnqprcbihkzfysqbmqa/LNG Converter-Prefix.pch.pth" "LNG Converter/LNG Converter-Prefix.pch" normal armv7s objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd "/Users/OscarApeland/Downloads/LNG Converter 2/LNG Converter"
setenv LANG en_US.US-ASCII
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c-header -arch armv7s -fmessage-length=0 -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wduplicate-method-match -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -miphoneos-version-min=5.1 -iquote "/Users/OscarApeland/Library/Developer/Xcode/DerivedData/LNG_Converter-fhuumyzhzihyzkcrahggbbgzeijr/Build/Intermediates/LNG Converter.build/Debug-iphoneos/LNG Converter.build/LNG-generated-files.hmap" "-I/Users/OscarApeland/Library/Developer/Xcode/DerivedData/LNG_Converter-fhuumyzhzihyzkcrahggbbgzeijr/Build/Intermediates/LNG Converter.build/Debug-iphoneos/LNG Converter.build/LNG-own-target-headers.hmap" "-I/Users/OscarApeland/Library/Developer/Xcode/DerivedData/LNG_Converter-fhuumyzhzihyzkcrahggbbgzeijr/Build/Intermediates/LNG Converter.build/Debug-iphoneos/LNG Converter.build/LNG-all-target-headers.hmap" -iquote "/Users/OscarApeland/Library/Developer/Xcode/DerivedData/LNG_Converter-fhuumyzhzihyzkcrahggbbgzeijr/Build/Intermediates/LNG Converter.build/Debug-iphoneos/LNG Converter.build/LNG-project-headers.hmap" -I/Users/OscarApeland/Library/Developer/Xcode/DerivedData/LNG_Converter-fhuumyzhzihyzkcrahggbbgzeijr/Build/Products/Debug-iphoneos/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include "-I/Users/OscarApeland/Library/Developer/Xcode/DerivedData/LNG_Converter-fhuumyzhzihyzkcrahggbbgzeijr/Build/Intermediates/LNG Converter.build/Debug-iphoneos/LNG Converter.build/DerivedSources/armv7s" "-I/Users/OscarApeland/Library/Developer/Xcode/DerivedData/LNG_Converter-fhuumyzhzihyzkcrahggbbgzeijr/Build/Intermediates/LNG Converter.build/Debug-iphoneos/LNG Converter.build/DerivedSources" -F/Users/OscarApeland/Library/Developer/Xcode/DerivedData/LNG_Converter-fhuumyzhzihyzkcrahggbbgzeijr/Build/Products/Debug-iphoneos --serialize-diagnostics "/Users/OscarApeland/Library/Developer/Xcode/DerivedData/LNG_Converter-fhuumyzhzihyzkcrahggbbgzeijr/Build/Intermediates/PrecompiledHeaders/LNG Converter-Prefix-chblhzzekvnqprcbihkzfysqbmqa/LNG Converter-Prefix.pch.dia" -c "/Users/OscarApeland/Downloads/LNG Converter 2/LNG Converter/LNG Converter/LNG Converter-Prefix.pch" -o "/Users/OscarApeland/Library/Developer/Xcode/DerivedData/LNG_Converter-fhuumyzhzihyzkcrahggbbgzeijr/Build/Intermediates/PrecompiledHeaders/LNG Converter-Prefix-chblhzzekvnqprcbihkzfysqbmqa/LNG Converter-Prefix.pch.pth" -MMD -MT dependencies -MF "/Users/OscarApeland/Library/Developer/Xcode/DerivedData/LNG_Converter-fhuumyzhzihyzkcrahggbbgzeijr/Build/Intermediates/PrecompiledHeaders/LNG Converter-Prefix-chblhzzekvnqprcbihkzfysqbmqa/LNG Converter-Prefix.pch.d"

还有截图

解决方法

您需要编辑目标的构建设置并更新“前缀标题”以修复其路径.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读