Apple LLVM编译器错误4.1 [英] Apple LLVM Compiler Error 4.1

查看:256
本文介绍了Apple LLVM编译器错误4.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,我碰巧移动了一些文件夹,所有的突然我的项目认为这将是很酷,只是喜欢,不工作。有人可以告诉我如何解决这个错误? (编译irl iphone时出错。)

So, I happened to move some folders, and all of sudden my project figured it would be cool to just like, not work. Can someone please tell me how to fix this error? (Error while compiling for 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"

和屏幕截图

And a screenshot

推荐答案

您需要编辑构建设置并更新前缀标题以修复其路径。

You need to edit the build settings for your target and update the "Prefix Header" to fix its path.

这篇关于Apple LLVM编译器错误4.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆